Technology firms including Google and Meta have said they will shoulder the costs to power artificial intelligence data centres, as the White House faces pressure to address rising electricity prices.