Except it is possible. There are generics. If those companies are capable of producing it for that cheap then all the power to them. They just arn't legal everywhere. Make them legal. Now some people will argue about initial R&D, but that's a one time cost. If a market is empty, it will get filled. Someone will fill it at some point because no matter what there will be money to be made, it just won't be the billions and billions that capitalists want, but there is more to making medication than money, some people actually care about making something that can help others. Let those people fill the market if the capitalists are too scared of people stealing their idea since they want to gouge people and be a monopoly.
Heck, they could probably make initial R&D government funded. At least for more serious life saving medications, cancer treatments, that kind of thing. We as humanity have to stop allowing money to be an artificial limit to saving lives.