It’s exactly the opposite. If you have skills that are rare (and exist at a level below demand), you have a lot of bargaining power. Unions are for people who didn’t have much bargaining power in absence of the union.
Collective bargaining power stems from the ability to combine the leverage of the individuals towards a common purpose. That still relies on the individuals having some baseline of leverage. You see this when you read about Walmart firing an entire store's staff just on the rumor of a union forming.