Elon Musk and his allies in the Trump administration are ending most U.S. foreign-assistance programs. But until recently, ...