Well presumably, unless the company is paying out dividends, which seems like a thing that happens rarely in this day and age, the money would still be in the company's war chest. They could budget for raises, bonuses, or increased staffing as an investment for the next fiscal year, just as much as you could budget for investing in new equipment/land/technology etc.
Now admittedly, I'm not as worried about wages proportional to profits, as I am wages being cut to artificially boost profits. If your employees are paid well enough to thrive , then the employers deserve every penny of their profits, in my view.