After nearly two decades of stagnation, U.S. electricity demand is surging, driven by growing numbers of electric cars, data centers and air conditioners in a warming climate.