They paid for the equipment, raw materials and factory that the workers need to earn their wages.
No they didn't.
They placed bets in a Ponzi Scheme.
The Incredibly Unproductive Shareholder
"Yes, shareholders. I know that we have all been trained to worship shareholders and to assume that their interests trump all others,
but the fact is, stock-market investors have become, collectively, an extraordinarily unproductive force in business. Indeed, for the last two decades, their contribution to corporations has been literally negative."