Inflation means money is worth less than before and inflation is actually money creation. Higher supply means lower demand. Record profits are only records because the nominal value is higher, but the real value isn't.
Companies operate on gross margin, so 30% margin is always 30% of the total price. The actual value is irrelevant.
You're not wrong that it's the profit margin that tells the story, and you can't tell just from the nominal amount alone.
But average profit margins in the United States have reached a record high percentile not seen since the 1950's. So it's not just the dollar amount that's gone up for corporations, it's the margin percent that's gone up too.
Of course, if you're not getting an actual pay rise. Then you strike until you get a better deal or start making money without exchanging it for units of time.