The software company promised to pay higher utility bills for all of its U.S. data centers powering artificial-intelligence models, a pledge that drew praise from President Trump.