Given Big Pharma's current ability to get lots and lots of money for vital medicine, I'm not optimistic they'd price a theoretical medical machine low enough for a government to afford.
Plus, if overpopulation is a concern, a wealthy person wouldn't necessarily want the machine to get into the hands of everyone. Given that the creator of this machine would become very wealthy, the incentives would probably lean towards offering it to a select group.