Why has so much power/influence left labor and gone to capital, at least in the US

Isn’t the cashier investing his time as much as the store owner or neurosurgeon? Why is their time worth something and the cashier’s isn’t?