Probably the next jobs to be replaced by automation will be vehicle drivers, truck drivers, cab drivers, etc. That should reduce the cost of shipping and transportation substantially and make life better for everybody. Just like railways, automobiles, trucks and steamships did in their day.
The problem is not that jobs are lost. The problem is that the new jobs require higher training and knowledge than the old jobs.
It used to be that any able-bodied man could get a job which only required physical ability. Digging, carrying, loading, etc. were open to anyone. Other jobs required a little more training and experience: soldier, sailor, tinker, tailor...
Communities were tighter and anyone could find informal work in exchange for basic necessities like food and lodging. Young women could become servants in a richer household until the day they got married.
Later came simple jobs like assembly line jobs, telephone operators, etc.
The problem today is not that some jobs are disappearing. The problem is that the requirements for any sort of productive job have increased exponentially and people with no education or training have it more difficult than before. Another negative consequence is that inequality is increasing. This is a natural consequence of the difference in productivity between jobs also increasing.
The solution is not protectionism of any kind. The solution is to have a better educated and trained workforce and a social organization that foments investment and entrepreneurs.
There is no way to have millions of people flipping burgers and making higher middle class salaries. No way. Salaries are commensurate with the value produced by the job done and if the job produces low value then it will be compensated accordingly.