Because non-wage compensation has made up a bigger and big part of total compensation - healthcare, 401k match, fringe benefits, bonuses, etc.
My dad worked as a teacher and got a super fat pension - that’s not included.
Total compensation has risen much more than hourly wage.