There’s several directions- here’s one – and this does happen in some corporations:
Let’s say every employee was automatically a shareholder in the company. Then, whenever the company profits, prior to Retained Earnings, any distribution to shareholders would give a proportional share to the employees.