Jerry and the others make great points, though automation has been replacing labor since the British industrial revolution in the 1780s with the invention of the power loom, steam engine and other inventions.
And, it's not just AI displacing workers; it's software in general. The humble PC displaced a lot of secretaries and file clerks, yet somehow those folks all landed in other jobs. Email displaced a lot of postal service employees; the drop in first class mail volume is well documented.
On the other hand, software and the Internet have created a lot of new jobs, and not just for software engineers, but those of 'labor' as well. Just think of all the Uber and Lyft drivers that didn't exist a few years ago. Who knew so many people wanted to be gypsy cab drivers?
Or all the Amazon Prime Now, DoorDash and FlipCart delivery people? It will be a while before any AI, robot or drone replaces those folks bounding up my driveway.
Will automation eventually replace these folks? Most assuredly, just like the car replaced the 10,000 people employed in turn-of-the-century Manhattan scooping up horse poop. But then again, how many people really aspire to a lifetime career of being an Uber driver, Prime Now delivery person ... or pooper scooper?