AI and the global energy transition