The agreement was $20 a vaccine, which IMO is perfectly fine. Making a profit from doing a necessary thing is very capitalism. Remember that shareholders were very upset they didn't make MORE profit.
That's likely the price executives and shareholders would have wanted for the US. I wonder what leverage Trump held over Pfizer to get the $20 price. It's a genuine negotiating win from someone who considers just not paying your contractors to be good business and negotiating.