This is a big problem I’ve seen coming for a long time. The common “everybody knows” idea is that as technology changes, outdated jobs are replaced with about the same number of jobs in a new field.
This is becoming less and less the case with each passing year.