AI is not a direct threat to humanity. When accessed and used by the wrong person, AI can be dangerous. However, it is rather the problem of the "wrong person" instead of AI. So, when limited and watched properly, AI is not dangerous.