Miracle drugs are almost exclusively funded, or heavily subsidized, by the public sector. Typically through NIH grants, or other public funding mechanisms through the University system.
R&D budgets for a big pharma go to things like reformulating existing brand name drugs, to prevent them going generic as they are supposed to under current law. Or other high return, reduced effort, drugs i.e. new dick pills, narcotics, etc.
Executive pay and bonuses are not going anywhere, no matter what happens with these drug prices. They will cut their company to the bone, and then collude with private equity to take them private and gut it, before they ever considered cutting down their bonuses or stock options.