David Graeber already had an answer to this with his idea of "bullshit jobs", wherein as the labor that is necessary to keep society running is slowly reduced or automated away entirely by technological advancement, more jobs are invented that serve no practical purpose other than to keep people performing the wage labor ritual of selling their time to capitalists (keep in mind Graeber was a left-wing anarchist) in order to justify having access to resources. Even if there's absolutely no basis in reality for people to continue working, people will be made to think that they need to continue working and will be kept under the threat of work or starvation no matter how abundant resources and labor power are unless they simply refuse to continue to do so like we're seeing right now with the Great Resignation, which is essentially just people waking up to the realization that most of the jobs available to people today (especially young people entering the workforce) are bullshit jobs.