The point is that most of that profit comes from government incentives that are supposed to encourage R & D. i.e. we pay several times more on drugs than we would without paying those incentives to the businesses, but only a small proportion of that extra money goes into R & D. Its incredibly inefficient funding.
My take on that problem. There are others. https://pietersz.co.uk/2007/02/patents-inefficient
I made the same point nearly 10 years before that with regard to R & D vs marketing expenditure. Its not a new problem.