Agriculture is a great example of how technology destroying human jobs actually makes society wealthier in real terms, not just capitalist/economic means of exchange. Replacing people with technology that makes the process far more efficient frees those people up to apply themselves in different ways. Without all those different innovations, our entire tech sectors would still be tilling fields.
US manufacturing is another example of society needing to move on. About 89% of those jobs lost in the couple decades (maybe 15 years?) was lost to technology (it wasn't only trade deals; trade deals weren't even the primary factor (the other 11%)). Sure, it might be difficult and stressful to change careers, but people need to be flexible for society to actually improve. I'm of the opinion that supporting and aiding people during this transition is a responsibility of the government, although of course there are those who disagree....