That's because corporations do the part of drug research that actually matters, viz. translational research and safety/effectiveness studies. And it would be just as expensive if non-profits were doing it, so talking about "profits" is just not relevant.