Well and if that mindset is coded (subconsciously) into the AI, it will happen as a self fullfilling prophecy.
But as of right now - the machines absolutely would need us. There is no machine capable of self replicating anywhere close in sight.
For this kind of thing it mostly works.
Until it’s offline, sadly, I can’t even use it for company work.