Everyone but companies can suffer from the effects of inflation, got it.
In basic microeconomics, taxes, market power, and other market distortions create deadweight loss. Again, the higher price is borne by the consumer, regardless where in the supply chain/production process it is injected. Higher costs can flow through without deadweight loss, but again this is all in the static scenario.