Investments in real estate, equities, commodities etc all increase in notional value to factor in the devalued currency.
Edit: Thinking about it a bit more. Inflation would also tend to drive up the numerical profits of companies, which will tend to buffer a stock price for example. So I'm not sure how this inflation independently contributes much of a specific tax on the wealth.
So yes salaries go up, but not in concert with people's costs nor with the value that is generated by people's labor.
https://krugman.blogs.nytimes.com/2010/02/13/the-case-for-hi...
It's right there in plain English: Inflation exists as a policy to screw "workers" out of the value of their wages.
Workers is a nicer way to say lower classes. It doesn't include investors, financial sector, etc, who strongly benefit from inflation.