Good grief!
Programmers are more impacted now than manufacturing were because they identify with work?
The better prior is when manufacturing or office workers had to take on the job of outsourcing or automating away the work of others, because it highlights the guilt of knowing that it's not good for others, but it's temporarily good for you. Normally we try to expand our concern to our neighbor, but sometimes we have to put on the blinders. It's not fun to pull up the ladder you climbed.
The sweet spot of delivering productivity enhancement is when something that was previously too costly now becomes economically feasible -- so you're helping new products/services. It's doubly good because you're not just working/extracting on a value stream, you're creating a new one. Best to aim for that.