It’s both. Pharmaceuticals companies are not an innocent bystander. Everyone is happy to get this big piece of the pie, including drug companies.
And well… from the society’s perspective high/very-high prices for new drugs for a decade or so (20 years seems too long though) might be a good deal if it results in very high investment into R&D.