Yes, some blind luck is needed to win at this game. However, the job market has been such that a solid programmer can get something lined up pretty quickly if their current job fails. I don't think the risk is as bad as people portray. Again, picture buying long term call options for a single stock with a proportion of income each year. Somewhat risky, but risk is capped and the payoff could be quite big. More diversification is almost definitely more efficient but carries less tail upside.
By "unfairness" I don't mean risk, I just mean unfairness.