That isn't how it works in practice. On the other hand, I have seen Chinese researchers in action. They formed a sub-group out of the team, learning what they could from others yet refusing to share what they developed themselves. One member of this group was responsible for computer access and wanted all sorts of favors just to log on the system. Definitely an attempt at creating an intellectual monopoly, all because they didn't feel secure at sharing anything with anybody. It was worse than any patent or copyright protection could have been. (Unsurprisingly, the project failed.)
Of course his action is selfish and un-scholar like, but then you want to create a law to protect those kind of actions. In the real world, the incentive IP protection gives is mostly to the companies that hold those patents, the benefits for those who invent them are really small. Also imagine the lives could've been saved in Africa if it is not because of the IP issues on medicines.
Also imagine a world where every knowledge is to be IP protected, and what kind level of education will you get without paying you butt off for the royalties.