If significant competition existed, epipens would cost very close to $30 or however much they cost to make. There are many viable businesses operating at low margins.
They (including epipens) probably cost about $10 to make. That's total cost, from production to delivery to the retail outlet. They would have been handsomely profitable at the old price of $57.
If healthcare is public service then profitability is not a primary concern. Data-driven decisions shows that approaching healthcare as a public service is much more effective.
The choice here is rather obvious, yet for some reason, average people who would benefit immensely from a public health system in the US seems to disregard it as socialist, paying for someone else and so forth.
Please note that drug corporations are insanely lucrative in Europe too, so a public health care system doesn't seem to harm drug companies all that much, financially speaking.
IMO you need to give the drug companies enough money to cover their operating expenses and R&D costs and give some margin to stay afloat. But not more than that. It's hard to do because this aspect is one that is handled well by free market - but in healthcare, you very much care about the thing free market utterly sucks at - product quality. You need regulation to ensure the product is good enough, and many of the important criteria are not immediately verifiable by the customer at the point of sale. Trying to reconcile those two issues is the hard problem.
If you are low volume, you're gonna have to sell at $8 - $10 to make something worthwhile.
Now, I get it, they are unquestionably overcharging for this drug and delivery system. I just don't think you can say that since I can make something at the rock bottom price of $x that someone else should be able to make a living (or run a pharma corp.) by selling at a similar price. The sweet spot is somewhere between $30 and $300, where it is is probably closer to $100.
A soda machine is basically free money because syrup and water cost pennies. The cup is the most expensive thing you give to the customer for his $1.99 soda.
Anyway, my main point was that ingredient cost is only one part of the cost of making/delivering something.
IIRC, restaurants aim for foodstuffs to amount to 30% or less of sales to be viable.
They cost $35 to the NHS in the UK.
As a consumer I could see this for $75 - $100 retail (and some discount to institutional buyers) but $30 is probably not viable and of course $300 is ridiculous.