They don’t. The notion that they do is laughable.
Let’s look at baseball. Baseball players are known for having huge multi-million dollar contracts, right? But that’s only major league players. The vast majority of professional baseball players play in the minor leagues, where they earn just a few thousand dollars a month (and they don’t get paid in the offseason). And that’s not all; minor leaguers are still really really good at baseball. They’re all easily in the top 2-3% of baseball players. There are simply no jobs for the other 97%.
The average minor league baseball player making $15k a year playing baseball is a vastly better at playing baseball than the typical senior developer making $120k a year at $BIGCORP is at programming.
As for the couple hundred guys making multiple millions a year who you hear about all the time? Well, there’s even more engineers who have struck it rich with a startup, and no baseball player will ever come close to Zuckerberg-level wealth.