It's a valid concern, and there is research into this. https://news.climate.columbia.edu/2023/06/09/ais-growing-car... is one article, but lots more to be found via Google. Currently AI training is very small relative to agriculture and industry, but of course it's trending upwards.