I am not worried about AI ever being a threat to humans. Without human guidance, a machine will still just be a machine, incapable of escaping its programming parameters. I’m not sure if humans can be taught creativity, which means we could never teach it to machines.
The true danger will be when the human brain can directly interface with, and be augmented by, the capabilities of machines. Imagine having all of human experience to draw upon to decide your actions, plus the speed and strength of machines. The first human who successfully does that will be given a new name, God, and his first act will be to ensure that no such connectivity is ever done using any other human brain.