I maintain that we have not run out of things to do, and for gain, and that we never will. The robots are tools. Who's hands they fall into will make a lot of difference in the outcome, but people will find a way to subsist.
Do you really think autonomous robots are simply the tools!? They won't just augment human's strength and mind as machines did in the past but replace human workers altogether in the most sectors!
The real problem for socialist economies is that there are simply no economical solutions for the technological unemployment utopia. Period!
All proposed solutions for tech unemployment I have ever read are more or less socialist. It will be very interesting if you can to suggest market-base one.

In our planned socialist economies we are often discussing their big-problems caused by big-failures of big-govs, big-banks, big-corps. In free-market capitalism failure is not a problem is the engine.
About what country with planned economy are you telling?! After USSR collapse neoliberal capitalism became the only economic model in all developed countries.