You reap what you sow.
AI could be amazing but with the track record of humans, it will be used to give an edge to one group over everyone else.
I am sure there are so many things we don't know about that AI is doing and yeah I do think we are doomed!
Surely a highly intelligent AI could rapidly improve its own intelligence, leading to an intelligence explosion. In other words it quickly becomes incomprehensibly powerful and uncontrollable.