When an economy undergoes inflation, not all prices rise by the same amount. That’s one of the reasons high inflation can be so disruptive. For example, wages (the price of labor) often rise some time after other prices, to the detriment of some wage earners.
It’s pretty believable that grocery store chains have acquired enough market power that they’re able to pass on all their cost increases to customers, and more, thereby increasing their profit rate. But the fact that individual companies and sectors are well placed to cope with inflation doesn’t explain the economy-wide and world-wide inflation.
We can also look at the “companies have market power” explanation using the overall labour share, which measures how much income is going to labor vs capital, economy wide. It doesn’t seem to have shifted much during the recent bout of inflation. But again, individual wage earners have seen huge disparities, including some who have been made much worse off by the inflation.
Schrodinger’s commencement speech: