AI could devastate the environment, but help is on the way