Ahhh yes. In capitalism, if you create a machine that can replace say, 10 people, you don’t give them 1/10 of the work. You fire them and maybe hire someone to operate it.
Machines and human workers can coexist. They don’t have to replace them.
Edit: Of course they should replace them, but only after we get good living conditions for unemployed people, which are currently non-existent.