And Human with AI will be more efficient than human without AI. So there will be need for less humans for a given task. Therefore AI will replace humans, just not all of them.
And that's not new. The same thing happened with softwares and with machines. The solution : produce more goods or services.
Until we have an energy crisis and we need to rationalize all this.