This is a perennial question
Scenario 1:
The future technology will be capable of handling much of current work, but we'll invent new forms of work, with more stress and higher salaries.
Salaries for people in professions that couldn't be replaced will also go up to match, making bespoke work even more expensive.
Scenario 2:
We let machines do all the work and declare a communist utopia. (Bonus: we give them names that are low in gravitas)
So far, scenario 2 hasn't happened yet, but you never know.