There is no real difference. Will the displaced workers be absorbed into other parts of our economy, that is the question.
In a non-statist, non- interventionist, non-socialist state with a normally functioning, free civil society- the question you ask isn’t even relevant. It’s like asking - with all the advancements in medical technology, will women become superfluous?
I’m not being sarcastic - because your question in a highly regulated, centrally- planned, collectivist society is a very common one
The question that SHOULD be asked is - in a highly productive society, what is the mechanism or means by which are the fruits and benefits of all this advancement distributed?