Energy constraints in the artificial-intelligence race are causing tech companies to think out of this world.