You should visit some farms. Back in the 1800's agriculture was 80%+ of jobs. With the end of slavery and the evolution of machinery that number dropped to <2%.
Where was the economic implosion when automation took over agriculture?
Whether or not it did, you don't see a lot of people complaining they're no longer working on a farm. And we've replaced all of those jobs with arguably better and safer ones.