AI is only dangerous if the programmer design it to be danger to humanity.
if you're going to create a killing robots then that's Danger.
of course a.i is a danger