I think this only becomes a problem if technology evolves faster than people change. All those "calculator" employees got better jobs. People keep making the analogy of how cars completely replaced horses (I used to as well) but horses can't fundamentally change what they are capable of.
Even if the technology does evolve faster than people, governments can make sure people don't get impacted. Coal plants are more expensive to operate, worse for the environment, and less efficient but the coal industry is still kicking along for better or for worse.