IMO instead of lament automation taking jobs (at least those that we would not want our own kids to do) we should improve the learning and training options to make those affected employable elsewhere. Not BS 1-day clinics "how to write your resume", but longer full time technical or human skills classes and workshops to improve on skills in demand today.
And maybe beef up the safety net, especially on the medical side. Do not fight progress, leverage it for good causes.