When you factor in the number of lottery tickets sold each year vs the number of people working for startups, and the fact that at a startup you do have at least some degree of control over the outcome (that's part of the reason you would take the job), it seems like the lottery comparison is pretty far from correct in reality.
This article has a quote from a California Lottery spokesman saying 138 people won a million+ in 2021: https://patch.com/california/orange-county/californias-top-1....
This article also from 2021 estimates 7000+ millionaires from 35 bay area IPOs that year: https://www.nytimes.com/2021/03/08/technology/silicon-valley...
When you factor in the number of lottery tickets sold each year vs the number of people working for startups, and the fact that at a startup you do have at least some degree of control over the outcome (that's part of the reason you would take the job), it seems like the lottery comparison is pretty far from correct in reality.