Foreign businesses are some of the biggest winners in the Inflation Reduction Act in the United States as the incentives have spurred a lot of investment in clean energy technologies from overseas firms, an analysis by The Wall Street Journal has found.