I find it really funny how people blame corporation's "greed" for the high inflation. It's literally raison d'être of for-profit organizations to squeeze as much profits as they can in existing market and regulatory conditions.
The main reasons why corporations get away with "unfair" margins are:
1) Broken anti-trust regulations.
2) Irresponsible fiscal policy effectively monetized by money printing.
3) Ability of corporations and most wealthiest people to ~bribe~ lobby politicians so 2 would benefit mostly them.
To summarize: the root issue is with the government and the political environment which has created it and allowed its short-sighted and irresponsible actions.