It's funny how in all examples AI did it on accident.
In reality, it's just humans destroying the planet in a relentless pursuit of over abundance. AI itself (which may some day become indistinguishable from a person) is actually blameless at this stage.