Why should unions get to see the budget and negotiate? It's not their business and they aren't entitled to that information. If they don't think their salary is fair, they can always seek work elsewhere.
If companies get bigger, they get more specialized people.
When you got 3 people, the dev is probably also the admin and the tech support, if you got 30 you get multiple people for each job.
It's only logical to get some specialized people (the leaders of the union) to negotiate salaries, while the rest of the the workforce does their work.
Sure, if you see the companies success independent from the employees success this doesn't make much sense, but if you see the both entangled, why shouldn't this be okay?
You seem terrified of the idea that they might choose to negotiate as a group for some reason, even when they go about that in a perfectly voluntary fashion.