You're assuming there are no rackets, either explicit ones or implicit ones.
Women's wages, for example, are very easily suppressed by a cultural racket that tells us the kinds of jobs they do (teacher, nurse, etc) are not very valuable.
Whether that's true doesn't really matter because as long as people believe it, there is money to be made acting as if it's true.
There's no real money to be made in breaking the racket, because by breaking it you'd just be paying more for the same thing your competitors are paying less for.
The moneymaking scenario is if you can make more money with fewer people by paying top dollar for the best people in an otherwise underpaid class.
But that will typically just result in a bifurcation of the market, with some higher paid positions, and many lower paid positions, not a global rise in salaries. Then the best gamespeople will be drawn to those higher paying gigs, and they will push out the most talented professionals from those positions, erasing the desired productivity gain, and eventually causing the salaries to revert back to the mean.
You really need a very strong leader to break the racket, someone who can create an organization that really cultivates good people maintaining control of their work. And a very good business model that would allow you to grow fast to displace your competitors. That kind of company is extremely unusual. It's just not something the market automatically creates. There are much easier kinds of companies to create that still make money, so that's where the bulk of investment goes.
People underestimate the amount of available high quality business leadership. Without infinite available leadership, the market can only optimize the low hanging fruit. More tricky local maxima just won't optimize out.