There are two purposes to jobs:
One is the obvious one, to produce things. AI can somewhat help with that, although less than you might think because it's largely producing knowledge output rather than physical things. If AI lets one knowledge worker do the work of 10, the effect of that is to free up 9 knowledge workers to take up manual labor, it's not to make manual laborers 10x more productive.
The second purpose is to distract people from attempting to work on their own interests and instead corral them into working for others'. You see examples of this in the form of acquihires (where they obviously don't need you to do the work, they already have a competing product, but they do need to take your product off the market), and in bullshit jobs, and in think tanks and consulting firms and legal machinery. It's a form of social control and a means to maintain social order, not a requirement for actual productivity. When you don't give people a job to do, they start working for their own interests, and their own interests frequently conflict with others. And we've seen that over and over again: the Great Depression nearly led to a fascist coup in the U.S. [1] and did result in fascism in Germany, Italy, and Spain, and large communist movements in France and China. The COVID pandemic and subsequent lockdowns led to widespread protests and civil unrest in the U.S. and other countries.
Popular discourse concentrates almost exclusively on the first purpose, because the second one is icky to talk about. In reality most people are individually better off being independently wealthy and not working, but society can only absorb so many free agents with their own ideas and wills to power. (This is also why retirement and stay-at-home parenting are broadly institutionalized: it's okay for people to not work when they no longer have the energy to work, it's only dangerous when people are not working and yet have the energy to do things other than working). But the second reason actually has more explanatory power. If you assume that the true reason for employment is to take people out of the competitive will-to-power market, lots and lots of irrational moves suddenly make sense, like high-paid executives, bullshit jobs, bureaucratic incompetence, projects where billions are invested and then the whole thing is canceled, competing internal divisions, people not getting fired for doing nothing, etc. The whole point is for them to do nothing.
There's a Chesterton's Fence [2] issue at work here. Many people, particularly young people, grow up with the first explanation for work and take it at face value, and then a new technology comes around that saves all this work and they're like "Of course this is a good idea! I want to be part of it!" But if the actual purpose of work is to distract people from pursuing their own interests, this is incredibly dangerous. The actual consequence is going to be widespread unrest and quite possibly war.