All of the costs are paid for by the product being sold, which pays for all the workers AND all the extra value from profit goes to Capitalist. That's how.
So would you be fine of workers were not paid for their labour until after the product was sold? When is the price of that product established?
Not the point, point is that rewards are not proportional to amount of work done. With new tech productivity went up, profits went up, but workers rewards did not go up proportionally.
Technically the productivity cant go up proportionally since that increase in productivity requires greater investment in the equipment that increases productivity.
Which means, Capitalist got all the extra rewards, which is exactly why the rich got richer, driving prices up, while workers rewards went in reverse direction in respect to inflation.
You have a bit of a point in this though. Yes inequality had increased more. Much has changed though. Many jobs today didnt exist before, and many old jobs no longer do exist.