While the median is much much lower, there are a couple of thousand individual contributor SWEs (non-managers) between Google, Meta and a few other big-ish tech companies who make >$1 million/year (steady state, does not depend upon recent run ups in stock prices), with a couple of hundred of those above $4 million/year even. The risk/reward for joining a startup is very skewed in terms of risk in these cases.