A lot of the compensation is in stocks, sure, but a lot of compensation is also, well, in compensation. HN users have been posting -- for years -- about salaries and cash (or cash equivalent) bonuses for
starting level software engineering positions at some companies exceeding $250K annually. The salary inflation in Silicon Valley's tech fields has far outpaced both general inflation and wage increases of non-tech workers in the area, so even if you're seeing San Jose Panda Express locations paying $20/hr, it's just not closing or even maintaining the gap. (And we're setting aside how many of those sorts of positions aren't actually full-time.)
For full disclosure, when I was working in Silicon Valley as a tech writer a few years ago, I was making over $200K in salary and bonuses, no stock options. Now I'm working remotely in Florida, contracting with a "managed services" company who's placed me with a much bigger tech company (one you've definitely heard of) which uses this structure to keep salaries down, and I'm making $35/hr -- and the company only pays for benefits in the most technical sense, e.g., I can buy health insurance with pre-tax money but they don't contribute any of it, there's a 401(k) but it effectively has no corporate matching, I get 10 days of PTO a year, etc.).