Like have you read about the pharma companies that pay out generic mfgs to not manufacture patent-lapsed medication? This allows the patent-holder to buoy their prices and continue the monopolistic racket for medicines without competition. And pharma is held to a different standard.
If we take your example, we'll assume the competition's process is more efficient, well they can't patent that so the inventor can fund and build a factory on par with the competition. Consumer benefits. As it stands one party could design the drug, the other the process, and they could compete inefficiently with royalty bargaining or some such, ultimately leaving little benefit to the consumer. More realistically a conglomerate buys out everything related and sets the price for maximum ROI - supported by the system which has been driven to the inevitable conclusion of artificial monopolies leveraging their outsized wealth in the political arena.
Mentioning the propensity for larger established companies to buy out nascent companies and strangle their products which is enabled by patent law and has lost the collective a considerable amount of goods.
Let's say you invest 10 years of your life trying to develop a new cure or drug, but some other company reverse engineers the formula and sells it for cheaper, preventing you from even recoup your investment costs.
This might not be a problem for large corporations, but nobody else would be incentivized to try to create or develop something cutting edge, which might have a high risk of failure or take a long time to see through.