Fundamentally I think startups overvalue the risk of coming up with a product vision and undervalue the risk of executing on that vision. It's arguable harder and more risky to go from
"lets make a social network" to the entire product that is Facebook, and a majority of the people that bridge that gap get
relatively shafted on equity.
As to your point about joining a post-YC company, employees #1-#5 are generally defacto cofounders and are often given similar equity. I'm not disputing that. I'm talking more about (roughly) employees #6 -> #30. At that point you have a product vision, but no concrete product. Since the major work of a startup is discovering the details of what to build, a majority of the work isn't done yet, and the real risk hasn't been mediated. However, a majority of the equity has already been passed around.
The risk and reward are certainly correlated. To say for certain you'd need a rather complex economic analysis that factors in opportunity costs to really say what the monetary sweet-spot is on the founder<->enterprise-employee spectrum. My suspicion is that the startup talent market isn't very efficient; As an industry we haven't really found a good way to judge technical skill other than working alongside someone for months. This hurdle means all the good jobs come via social connections. All the good positions are taken by the founder's network, and all the great devs already have a good gig.