Money is paid for the employees backs and the business entity owns all the IP. Employees agree to this and can leave at any moment. They are welcome to start a co-op style company and give that a go. But would a VC want to invest in such a company? Prob not.
People like to pretend we don’t live in a cut throat capitalist system and that it has worked out best.