If your job skills are so poor you can replaced by a machine then you have problems anyway.
You do realize that these days, except for court appearances, lawyers can be replaced by machines, right? Do lawyers have poor job skills?
As the number of people who can be replaced by machines increases, as jobs become scarcer and scarcer, the entire economy will have problems. So will those who continue to advocate a laissez-faire approach, in the teeth of rising public anger.
Lampposts and ropes, folks. Lampposts and ropes.
You make this mistake consistently. Machines do not reduce employment. They lower costs and make product substantially cheaper, which usually makes for hugely increased employment.
One famous example was the cotton gin, which did the labor of 10 people for a 12 hour day in less than half an hour. Did this reduce employment in cotton? Heck no, it made employment in cotton explode.
The Jacquard loom was infamous for taking the craft of weaving and turning a skilled trade into a bit of mechanical supervision. Did you see a collapse in the amount of folks doing weaving? No, you saw a huge increase in the amount of weaving done, a huge decrease in the price of cloth and the number of folks working in weaving mills exploded. Machines took the business of Silas Marner working by himself to produce 9 yards of cloth every three days and turned it into a factory that employed hundreds and produced thousands of yards of cloth in an hour.
Stevedors can empty a ship buy carrying 75 lb loads up and down the gangplank (itself a machine) or we can have them work in the hold while one guy operated the crane. The second way is faster, and as there is more profit in turning the boat around quickly, more guys can work in the hold or on shore because of the guy in the crane than would be otherwise possible
For millions of years more and more mechanization results in more and more productivity which results in more jobs available. This dynamic will not change until the sun goes out.