Just give them the same lecture they like to trot out about supply and demand and how automation simply creates new opportunities. And then have an AI compose a dirge to play on the world's smallest violin for them.
They'll be depressed? Tough shit, we're all depressed.
Software dev. If computer steal my computer job, I have plenty of other physical skills.
Specialisation is for insects.