This is a fundamental misunderstanding of how (labor) markets work. A company doesn't exist in order to funnel all its profit to its workers. Labor is a market just like other inputs, in the sense that there is supply and demand, so compensation is a function of that, not how much profit a company makes.
> You know, of the "Apple employees get to do some really meaningful and impactful work" variety...
To imply to someone who chooses to be at Apple over a place like Amazon or Meta (or non-tech company) that they are delusional and that their work is meaningless and has zero impact in this world is truly and utterly insulting.