If in the case of medicines, instead of having carte-blanche to milk obscene profits for a long time, corpos were just limited to making decent money for a short while....that would probably work out in humanity's interest. Part of the reason medicine is so expensive in the West IMO, is the expense that's been mandated by the insane regulatory capture in the pharma industry.
I imagine R&D and medicines would be funded by organisations founded by Government, Teaching hospitals, Drug producing companies coming together to share the costs. Would be great to avoid wasted effort as well.
The Large Hadron Collider was completed, and yet isn't producing much profit.
I have friends who do research - their primary motivation isnt pay. The private sector exploits their passion by paying mediocre wages while the CEOs of these companies rake in millions. This is demotivating to say the least.
An efficient system compared to the public sector it is not.