It would probably be the simplest solution to a naive super intelligent agi. Just take a look at how humanity dealt with dangerous animals. They are mostly no longer around unless in a zoo.
Humans don't put ants in zoos because the ants overconsume their localized habitat though. A naive super intelligent agi has no reason to care if global warming makes the planet 150 degrees F on average, if it's self-interested it would surely be able to be "ok" on a planet under those conditions.
Sure, but at some point it will be asked to solve those problems and if it's not properly built, could easily arrive at that conclusion from a problem solving perspective. Self interest doesn't have to come into play at all here.