You're missing the point so hard it's not even funny.
The datacenters hosting the internet are not the same datacenters hosting AI.
The ones hosting AI are the problem. Eliminate those, and the ones hosting the internet are fine (although could still convert to greener practices like on-site solar and closed-loop/greywater cooling systems, etc.).
Eliminate the internet datacenters and the AI corps are still going to destroy the environment, you just won't have access to wikipedia or the fediverse.