They're not the same arguments at all. The corollary would be if you started working for a company, and the company then created a union with other companies, and made it illegal for you to work for any company other than those that are part of this corporate union.
In a free society, a company would be able to fire its workers for unionizing and hire new ones.