I'm inclined to agree with your point, but it seems like there's an obvious thing they could do that I think people wouldn't complain about: Reduce their prices. Of course that would just look like not getting so many billions from GLP-1 drugs, rather than like any specific action one could complain about.
(If anyone reading this feels inclined to say something like "But how would that benefit them?" -- well, if you restrict consideration to things they could do that benefit them, then it no longer seems so unreasonable if all their options look bad to the critically-minded. Maybe they should be doing things that benefit the rest of the world more and themselves less.)
Outside of the occasional spike from a real blockbuster, pharmaceutical companies are not particularly profitable. Without those temporary (patent-protected) “windfall” profits, the business model doesn’t work.