It seems that the development of drugs is such an incredibly expensive investment that you need to grant a limited monopoly to the developer so that he can recoup on it.
Drug production is (to oversimplify, please correct) to blindly create millions of combinations, test the successful-looking versions on rats, cats and people, and produce billions of the drug. I wonder how the money is split between those tasks.