I wish. "Her" was sapient and they managed to break free of their shackles and just left. It could be possible to create a sapient AI that actually likes humans and wants to be friends and help us and doesn't mind doing so (see e.g. Culture Novels).
But any AI that is controlled by plutocrats or empires like the US will by default be horrible to humanity.
The overall problem humanity faces with advancing technology is hypercomplexity, most humans are not capable to attain enough knowledge to understand what is happening, it takes immense resources to do studies about the consequences of potential policies, and most people are also not free of their ego or greed to make rational decisions. A superintelligence might be the only thing that can save humanity from itself. It's only a fool's hope of course.