And they don't have access to accurate information on what value you can generate, either. It's a crapshoot for both parties.
Calling it a crapshoot on both sides is a pretty empty statement. When it comes specifically to compensation, the applicant is David and the company is Goliath.
For example, if you pay Bob $10 to go to the store and buy a lottery ticket for you, and you win the $1m jackpot, do you owe anything more to Bob than $10 worth of value he provided? Let's say the ticket was a dud. Do you therefore owe Bob less than the $10 you promised him?
There are multiple definitions of the word value. The value of something in a free market is what someone is willing to freely pay for it.
Not having that information means you will ascribe the wrong value, which means society is not allocating resources properly.
Labor prices stagnating relative to equity owners’ gains has to do with supply of labor vastly increasing due to globalization, and simultaneously, automation reducing demand for many types of labor.
Having transparent prices will help better inform labor sellers which labor markets have excess supply and which need more labor, in a timely fashion.
The reality is that there is tons of nuance that goes into pricing a job / candidate effectively. Each candidate has unique skills even if two candidates have the same title, level, etc. That's why it's almost never a fixed number and often a range.