You are assuming that if AI takes over people's jobs that everything will stay the same. I understand the cynicism. You PROBABLY believe that AI would concentrate more money into the hands of the super rich and that poor people would not benefit much.
I think we don't need AI but rather an AI revolution. With this technology we could replace our workforce.
That doesn't mean our workforce would starve or even be poorer. To the contrary, AI would allow us nearly infinite work product without the labor needed. Thus humanity could be freed up to work on themselves and enjoy their time on this earth without having to work at all.
In Star Trek, the invention that changes their world into a Utopia is the replicator. A replicator, in star trek, is a matter generator. It turns energy into specific matter at the user's discretion.
If we invented them, by your logic, you might say, "No you can't have replicators because it will put us out of work, you will no longer need us to make things if you can simply replicate a chicken dinner or a Nintendo Switch 2 or money!" - That's not actually true though. If replicators were wide spread everyone could produce anything they needed at home. There would be no need for labor. One could peruse their own dreams. I submit that AI is simply a replicator that is limited to a certain kind of product and the potential is similar for mankind.