AI as an existential threat to humanity?

I assume we will not become extinct but we will lose our place as the dominant species on this planet. AI won’t harbor any ill intention towards humanity unless we create it with that goal in mind.

We have seen many cyber attacks no cyber war — there are many ways AI can act as an agent. It won’t be a goal-oriented instruction like “ Wipe out human the race” but AI will be superceding us; it appears — with all those benefits we will allow that to happen