Tech makes jobs obsolete, but the new jobs introduced in the last few hundred years only add up to a small part of the overall workforce (programmers excluded). CGP Grey went in depth on human replacement automation, and almost a decade later it still holds up: https://www.youtube.com/watch?v=7Pq-S557XQU
The bottom line is that automating a job is obviously a net positive because it frees up a human to do something else elsewhere, while still providing the same added value as before. There will always be something for that human to do, even if not a traditional style job.
The gap, as you point out, is making sure that newly created value gets taxed and provided to that freed up person as UBI, so that they can continue to live and consume those products that the machine makes in the first place, otherwise there is no demand for them and capitalism doesn't work. There is no point in having an army of robots making hats if there's nobody to wear them.
The bottom line is that automating a job is obviously a net positive because it frees up a human to do something else elsewhere, while still providing the same added value as before. There will always be something for that human to do, even if not a traditional style job.
The gap, as you point out, is making sure that newly created value gets taxed and provided to that freed up person as UBI, so that they can continue to live and consume those products that the machine makes in the first place, otherwise there is no demand for them and capitalism doesn't work. There is no point in having an army of robots making hats if there's nobody to wear them.