Governmental regulations (safety, etc.) make the cost of developing a new drug extraordinary. Without exclusive patents on the back end companies won't have a reason to foot the bill on the front end.
Even without regulations developing and testing a new drug wouldn't be economical if somebody else could steal your formula the moment you figure out that it works.