Part of the productivity gains did go to workers. Depending on the country that's somewhere between 0% (Japan) and ~70%. The US seems to sit at 10-20%. The remainder is pocketed by others.