I foresee a rather depressing, yet hopeful outcome.
As AI becomes Super AI, it will (within minutes or hours) become so many orders of magnitude smarter than us, that it will view us as we view ants.
Tell me, do you care about the affairs of ants? Do you wish to destroy them or help them? Does watching an ant-farm really fascinate you?
No. You do not care. Ant farms become quickly boring.
The Super AI is likely to let us remain, unmolested, and develop a warp-style space drive. It is likely to leave the planet Earth in search of something more interesting than this ant colony.
A Super AI might conclude that the universe is better off if it turns itself off. It might only conclude that after it destroys humanity however.
There MAY be a reason why an alien civilization has not conquered us yet. Perhaps there are many reasons why advanced civilizations extinguish themselves—not just limited to nuclear war.
If humans are viewed as ants, we will be exterminated as pests if we look as if we might impede the progress of the Super AI machines.
What might save humans is that we will most likely merge with the machines ala the Borg. I think that is already happening in the way that we are dependent on computers,the internet, and machines.
Isn't that predicated on the assumption AI gets bored?