The history of capitalism is the history of grappling with this inherent tension, and companies finding novel ways to deal with it. Gig work, union-busting, "right-to-work", non-competes, NDAs, return to office, employee tracking software, automation, robotics, AI, etc. The most effective trick though, was convincing the workers that they definitely don't ever need to band together, and you as an individual are definitely better off negotiating alone versus entire corporations.
This sounds so comical when put that way. But you still see people defending that posture even on this forum. Psyops was definitely the most effective trick. And then those corporations went beyond the bounds of private enterprise and captured government as well. If anyone has any doubt that unchecked capitalism is fundamentally at odds with democracy, they are missing the forest for the trees.
We've optimized our own destruction.