AI is often criticized for the energy its data centers consume, which is driving more fossil fuel use and contributing to climate change.