Generative artificial intelligence uses massive amounts of energy for computation and data storage and billions of gallons of water to cool the equipment at data centers. Now, legislators and regulators — in the U.S. and the EU — are starting to demand accountability.