AI in concept is not evil and could be a good thing .
Unfortunately, its implementation has been at the hands of rapacious, avaricious, and narcissistic über-capitalists, which has inextricably linked AI with the evils you enumerated.
In a different timeline, AI was developed slowly, using heavily-vetted and legally obtained data, and rolled out in an intelligent and safe way.