The USSR was never economically or scientifically on par with the US. They managed to be relatively competitive in some endeavours by concentrated massive percentages of their national people and resources on certain endeavours (industrialization, space, the military), often with brutal violence. The US was militarily competitive, often with more advanced equipment, at a fraction the economic resources - and did it at the same time as having one of the highest living standards in the world (and often had the positive results of military tech bleeding into the civilian sector, like computers).
Magnitogorsk, a massive soviet city built around a steel mill, was essentially built with American expertise (this whole documentary is extremely fascinating on how central planning got to sophisticated and how the USSR ground to a halt): https://youtu.be/h3gwyHNo7MI?t=1023
This is not to say that any planning is bad, but having a central state trying to control everything from how many belt buckles to make down to how far cab drivers should drive each year, and you're going to become a bureaucratic nightmare. Central planning everything becomes a logarithmic planning nightmare, especially when trying to innovate at the same time. You can't plan around output of innovation because the planners are often far removed from everything. A planner would probably try and "plan" on how to breed a faster horse instead of a car, for example.
I'm reminded of an interview I once saw with Gorbachev. He was talking about how he was just promoted into the central committee, essentially the highest ring of the Soviet state. He had just made it to the top and one of his first meetings was having dealing with the issue of persistent shortages of women's panty hose. He was flabbergasted that he was at the top rung of a country that can blast people into space, but can't deal with basic consumer goods availability.
Also, many countries have industrialized just as fast without central planning, particularly several asian ones. True, then did centrally set goals and use various carrot and stick initiatives, but otherwise let the market dictate most of the rest.
Many asian countries industrialised with what was essentially central planning. Not in the literal "one government decision maker" sense but via a handful of extraordinarily large mega-corporations operating as central planners themselves.
The big five chaebol in South Korea for example orchestrate more than half the economic activity in the country and that's down from what it was before the turn of the century.
Similarly Japan was heavily industrialised under the zaibatsu and they effectively ran the entire economy of Japan through the entire imperial era. It was only during the american occupation that the zaibatsu were broken up and afterwards the keiretsu would take their place as the dominant drivers and orchestrators of economic activity.
This isn't to say that central planning or extremely heavily integrated planning and operations are a good thing for an economy or remotely healthy in the long term, just that they were pretty prevalent in many major cases of rapid industrialization in asia regardless of whether they came in a socialist or capitalist flavor.
> The USSR was never economically or scientifically on par with the US
We can call it solidly #2 if you prefer, but going from a failed empire to #2 in the world is still a real achievement. To be clear, I was not making a statement on whether I think central planning is superior; I was merely contesting the claim that it can not work at scale, which I find to be clearly untrue. Whether it's inferior or not, we have an impressive example indicating that success is at least possible. I would also expect the modern era to offer a better opportunity for central planning than in the past if any nation wanted to give it another go because significantly more well-informed decisions could be made with the degree of data and instant communication we have available today. That said, I certainly wouldn't be keen to advocate for it in my own country, because I don't much like the idea of giving the state absolute control in an era with a level of surveillance the KGB could not have dreamed of.