As of now, AI annihilating whole humanity is pretty much fear mongering to sell IPO. But we might reach there where their capabilities are advanced enough to create threats that can be concerning. I think that's 20-50 years timeframe, it might be early or late. All depends on development speed.