Second, the big companies will (sometimes) pay for salary data, but this information falls in the "what the company is willing to pay" bucket. Again, that's 50% of the information to make a deal, and you don't need to know it. From your perspective, it doesn't matter if they got their salary band by consulting a survey or a magic 8 ball. Maybe it affects the level of faux outrage they show when you ask for more, but then you're just back to negotiation.
Said differently, if you know you're worth $X, and the company believes that the statistical average human cog in Barnsville, Nebrahoma is worth $Y, what do you care why they believe that? Your job is to find the highest number between $X and $Y that they will accept, based on your unique value. Their job is to convince you to join, and maybe get that number closer to $Y. Their justification for $Y is not your concern.
This is repeated all over the thread, but makes little sense. You don't need to know this to come to agreement. All you need to know is what you want/expect to be paid, and the lowest number you're willing to accept. The company, in turn, doesn't know this information, and wants to discover it. You're equally matched. You both have exactly 50% of the information required to come to agreement.
Moreover, the company has invested a great deal of time and money to get you to the point in the negotiation where it actually matters what you're willing to accept. You have power!
The one thing that this does is (maybe) savesyou the effort of interviewing when your salary expectations are wildly out of line with the employer's willingness to pay. But that rarely happens, in practice. When it does happen, it's at senior levels, where your value to the company is disproportionately large. If you're at that level, you can usually tell going into the interview if the company has properly identified the value you believe you bring.
Stupid example: if you have 20 years of experience as a software engineering lead, manager, senior engineer, and so on, and you're interviewing for "Javascript Developer 1", then maybe you should be worried about pre-filtering on salary expectations.