 AI is already coming up and helping us finding breakthroughs for nuclear fusion or improving solar panels. If you look a lot further in the future, where we have artificial superintelligence, the AI might come up with finding ways to extract energy from thin air. And that sounds very much like science fiction, but who knows? If we have an intelligent being that is infinitely more intelligent than human species, anything is possible.