The problem is not that companies are able to increase prices and improve their margins. That's good!
The problem is that our institutions (government, journalism, small business entrepreneurship) have reneged on their role of promoting competition, leading to a lack of fear of competitors in companies, leading to an increased ability by them to increase prices.
There should be more self-reflection on why price increases are possible, and redress of those causes, versus attempting to treat the symptom.
#1 place to start looking -- how to balance the ultra-high efficiency of consolidated firms with their ability to deploy overwhelming capital in novel industries to crush competition.
Or in other words: "How do we make it so that starting up a Facebook or Google or Microsoft competitor today is a reasonable?"
E.g. instead of putting price caps on necessary-but-low-volume medications, look into why it was able to collapse into a single-supplier market