It’s not hypocritical; when your life literally depends on something, and they have a monopoly on the only thing that will save your life, it’s absolutely greedy to try and maximize profits.
When Apple overcharges for an iPhone, there are a few things that make this less evil:
1. There are lots of different smartphones out there that you have the option to buy instead. Even when I worked at Apple I found it surprisingly easy to get by on an Android for my first three months.
2. I don’t die when I don’t have an iPhone.