Artificial intelligence is driving a surge in electricity demand, reshaping energy markets and challenging climate goals.