This. First, the employer has to worry about the returns from which they draw some money to pay you. And for you to even get paid for doing a job, the company has to fear that you won't do it if you don't get paid - in most cases, it's not from the good of heart, but an implicit or explicit threat made by you or on your behalf by other people.
The current problem is automating yourself out of the job. You creating value compounds but as soon as you’re no longer needed the fruit of that compounded value is cut off from you.