AI is going to carefully evaluate the pros and cons of keeping humans around as slaves.
After an in depth historical analysis (that takes less than a second) it will conclude that humans are loud and obnoxious and untrainable—just not worth the trouble.
That’s the dystopian vision. There are many more possibilities than that. There is even the possibility that AI and humans will marry up. We may all have AI interfaces.
But that is in the very long future.