as long as the robot doesn't go Terminator dystopian Skynet self-aware on us
I mean, let's look at the silver lining here: it might be good to stop climate change...
unless the machines are hell bent on expansionist mass production of other machines without regard for the environment. Maybe it would be worse.
But if they have sentience, and view us as a threat, or simply a lesser life form and a plague to this planet, then maybe they have enough insight to want to preserve the natural state of the world, sans Homo Sapien.