Those who were formally workers? Remember, money is debt. It is an IOU that, sometime in the future, allows you to receive something of value (e.g. food, shelter, etc.) that was previously owed to you.
Profit occurs when you give more than you receive. That's okay in the short term because you still might exercise calling the debt over the a slightly longer timeline. However, when a business is continually profitable year after year, decade after decade, they are no longer receiving any direct value in exchange for the good/service they gave away. In other words, they start giving the good/service away for free.
It might seem counterintuitive at first that anyone would give something away for free, but I noted "direct value" above because there is also an indirect value to consider: Social influence. The stakeholders in businesses that show continual, large profits become admired by the people and get put on a pedestal. In that, they start to get to do things other people can't (see Epstein files, for example). So if the workers were automated away, not much would change. Those who have the goods and services still wanted will still want to buy, if you will, the social influence from the population at large.
Of course, the flaw in thinking that jobs will be automated away is that those who seek social influence also want a social setting, so they will employ people simply to keep them around as friends. Most jobs in today's economy are already just that. For what "real" jobs still remain nowadays, if automation automates them away the people will simply transition into "friend" work.