The spread of AI is taking a significant toll on the environment by using huge amounts of energy to power data centers and water to cool them down.