Competition in the market prevents that. Unions are bloated bureaucracy. "They" took risks and built a company that I now work for. They do a lot more than "nothing".
And yes it's true that they initially took risks to build the company but once they started growing larger, that's when they start doing less until they stop working all together.