President Donald Trump warned that growing opposition to U.S. data centers threatens local economic prospects and could undermine the country’s position in the artificial-intelligence race with China. He said communities that permit the facilities could gain jobs and lower taxes, while those rejecting them risk becoming poorer and less advanced. Trump’s intervention comes as Democrats campaign on affordability ahead of November’s midterm elections and before a planned White House visit by Chinese President Xi Jinping next month.