Cost of living doesn’t wipe out productivity increase. Cost of living is a money transfer. People buy things from other people. The question is therefore where is this money actually going. A casual look at how richness is shared in the USA will give you the answer to that.