>Where actually went all the productivity gains of the last decades?

Most productivity gains went into enterprise value because most of the productivity gains of the last decades are the result of capital investments.

As a salaried worker the only stable way to increase your wage is to upskill yourself (99% of companies don't do that anymore).