But we have had the same thing happen constantly. Automation isn't new. How many individuals are involved in assembling a car today vs in the 1970s? An order of magnitude fewer. But there aren't loads of unemployed people. The market puts labour where it is needed.
Automation won't obsolete work and workers it will make us more productive and our desires will increase. We will all expect what today are considered luxuries only the rich can afford. We will all have custom software written for our needs. We will all have individual legal advice on any topic we need advice on. We will all have bigger houses with more stuff in them, better finishings, triple glazed windows, and on and on.