It may have been mentioned, even tackled, but certainly not pinned down. I do not believe there is an ultimate purpose - just the short-term aim of maximizing profit, which is obviously finite. Once the majority of people are out of work, even on GBI, they no longer have the spending power to buy the products all these machines are churning out.
Right now, pay-day loansharks and pawnbrokers are thriving; the bottom-feeders are mainstream now, while the +/-legitimate money-lenders are raking in record profits. The entire economy is running on credit. People falling back on UI and welfare will not be able to service their debts, let alone pay off the capital. Meanwhile, industry is automating more or less on credit, even if it's only a tax credit, which means their government is going deeper into hock. See where this is going? Nobody does.
Our new fathead premier just cancelled a pilot GBI program in Ontario, quit charging carbon tax on industry and rescinded a rise in the minimum wage. I wouldn't be surprised if conservative governments elsewhere were equally short-sighted. Meanwhile, factories are closing or becoming streamlined everywhere. So, what happens to people previously making $30/hr, carrying a $200,000 mortgage and another $20,000 in credit cards and car loans and barely treading water, when their earning fall to $12/hr - or $0? There is no plan for that happening to large numbers of people - as it will, and very soon.
GBI/UBI is inevitable. The people who would do the robots' jobs in the event of some mass breakdown epidemic need to be there on standby - kind of like a 'standing economic army' that get paid for being there as backup.
Where is this plan? When and how does it kick in? Who's in charge of it?
So the training for the jobs still needs to happen,
It didn't 'happen' for printers or stem locomotive drivers or ship navigators - and just as well, because they were never needed again. Industry re-geared to a new way of doing things, society re-geared, and never looked back at the road-kill.
Thing is: "society", which usually acts through its legislative bodies, administrative agencies, economic power blocs and armed forces, usually does nothing at all about controlling or mitigating change; it scrambles to adapt to whatever has happened.
Badger Jelly -- I mentioned consciousness because I don’t believe positions like “doctors” (as in diagnosticians) can be replaced because human being are complex and I believe consciousness is needed to spot clues - that said I do think some jobs will be lost.
A lot of diagnostics are already automated
https://www.marsdd.com/magazine/computers-are-already-better-than-doctors-at-diagnosing-some-diseases/ and doctors were already a very small percent of the work force, fairly high up on the skill-pyramid. And, as people lose manual jobs and conservative governments cancel health insurance programs, fewer people are able to afford a live doctor anyway.
Nursing is still human, because machines aren't very good at handling fragile flesh. (Can touchless bedbaths be far in the future? Who misses car-wash attendants?)
In short we are already living in an AI driven society. I think it’s just a case of us waking up to the fact a few generations down the line.
This generation, right now, or else just wait to see how it play out.
You recall that climate has been predicted for over a century now; people who knew what they were talking about have warned us for a few generations. Did we wake up - hell, no; we kicked it down to the next generation, until what we can actually do is too little, too late, and we're not even doing that.