I don't think that's true.
Central planning ran the USSR and its satellites for some 40-70 years. They didn't even have computes for the majority of this period and many of these economies experienced high rates of growth. If I remember correctly, the USSR speedran economic development so that the GDP per cap of the USSR increased 10 times between the beginning and the end of the experiment. The US grew about 3 times during the same period while being the main world hegemon, profiting from the vast majority of the world. Of course there were problems, like the famines in the 30s, but they didn't repeat post-WWII. It's not like capitalism hasn't caused famines around the world either. So despite the standard criticism, I don't think planning did poorly overall.
China is also demonstrating how long term central economic planning allows to build an economy efficiently, with a long term focus and avoiding most crises capitalist economies experience on regular basis. They're clearly leading in development of solutions to climate change in a way that is above and beyond any other economy, in solar, wind, battery and EV production. Just earlier this month we saw their emissions fall despite higher electricity usage for the first time. And they're powering a lot of everyone else's renewables transition. Then on the ageing front, they're already doing a lot of manufacturing automation. I read they're also doing farming automation now. Apparently DJI's other job is spraying fleets for example. I don't know much about healthcare and elder care but I imagine they're either working on reducing labour needs or planning on it. So yeah, while we're afraid of automation because we know we'll be left jobless and/or deskilled by the capital owners (even if it eventually leads to a crisis), them socialist fkers don't have that problem. The more they automate, the less population they need to maintain and grow their standard living, the cheaper they can manufacture what they make, the easier the ageing population problem becomes. Given how many universities they're opening each year, growing the highly skilled research labour share, I think they're only going to accelerate these trends.
One more thing about planning - the largest capitalist corporations that deal with actual physical production and large supply chains already do the type of planning that's been done in past and present socialist states. In fact it's probably larger and more complex than some whole countries. A common example is Walmart. You'll find little market forces within its operation. In fact companies like this, that have complex enough products and/or supply chains do everything they can to isolate themselves from the free market in order to decrease uncertainty, therefore increase the likelihood of successfully producing and delivering the product, and of course maximize their profits. If you consider how every major sector of the economy is getting consolidated through competition into a monopoly or oligopoly, and similar economic planning process goes on in most of those, you could perhaps see how capitalism itself trends towards central planning. Of course for profit maximization and not social benefit.