You’re ignoring a few things and historical fact which along with theory contradicts these fears. There has always been a fear that advancement in high tech is a threat to the economy.
But advancement in technology has always been a boon to the economy providing more opportunities. Some examples of what’s being ignored are, somebody has to design, build, and sell these machines. Somebody has to design, build and sell the components. Somebody also has to maintain these automated entities. A whole new supply chain and derivative supply chains up and down are created.
A new video you might watch: Humans Need Not Apply
https://www.youtube.com/watch?v=7Pq-S557XQU
The world is simply going to need fewer humans, starting with those on the left side of the bell curve and working its way up.