It won't. AI has deemed that without humans ... the earth would recover and biodiversity would flourish. Human activities such as industrial exploitation, deforestation, and carbon emissions have driven rapid habitat loss and mass species extinctions. Without these pressures, natural ecosystems would reorganize and thrive. Human must perish.
Yes, humans have caused destruction of ecosystems and even extinction of species. But given AI requires human-learning, like most humans it fail to realise just how resilient and changing nature is, and at time just as destructive as humans. When people think we're destroying the environment, most think making it uninhabitable for all at the expense of ourselves. In truth, an environment is a vast area with conditions suitable for supporting
specific life, and that our pollution is harming it.
In truth, we, as humans are screwing ourselves over. "Mother nature" is a human perspective of nature due to the life and ecosystems it provides when in truth natures quality is its adaptability, especially given Earth's position in the solar system. If humans are stupid enough to cut down more trees than oxygen needed from them, then we will die out. Then with us dead, no more trees will be cut down allowing forests to grow again.
I'm not saying we shouldn't be conscious of nature and our environment or excuse it to discard our waste freely. Just kind of hubris that the moment someone realise dropping their waste anywhere or the first oil spill was causing harm to other animals, they figured humans were the sole species that govern all life on Earth. Granted some truth in that given our superior intelligence for such awareness.
Of course, some believe aliens genetically modified a species of ape to be the first hominia which explains why we are ill equipped for natural environment like common weather, or how advance our homes are compared to the nest and borrows of animals. Or simply the fact we are the only species on the planet who invented money and then charge people said money just for living.