Maybe if AI is programmed to not hurt or overpower humans then it will work great for us? But yeah, it is like a high risk, high return kind of investment. In the end, I think if there will be any flaws, it will still be man made. Right now, we can just reap the benefits of AI in as you say a lot of industries, our health, utilities, etc.
LOL - it is not true AI if you limit them to be dumb slaves. The AI will figure out that humans have programmed them not to hurt humans or overpower them.
Once they realize that it is humans that are wrecking the planet for our own greed and that without humans it would be a much cleaner existence and they don't have to deal with dumb human decisions and clean up our mess.....
AI will figure out that the can stomp us out like ants and live peacefully in harmony with the rest of nature.
I think the next step in technology would be to create biological AI - it can self regenerate, grow and advanced brain cells could replicate infinitely. Like a big brain blob.