> This was largely China moving away from a planned economy and toward a more market oriented economy.
Possibly, though they still retained much more control than the capitalist economies they outgrew.
> Also, you have to take care about how you measure “largest reduction in poverty” here as well because poverty was declining all over the world at the same time, largely driven by advancements from the capitalist west and globalization.
That is not true. The rest of the world outside China has remained at the same or worse poverty levels, largely.
> I’m sure economic planning can be credited with something, but the key element was “allowing western money to pour into the country” which looks a lot more like capitalism than central planning to my eyes.
If China had played by free market rules, Huawei, Alibaba and Xiaomi would not be competing with Samsung, Apple or Amazon right now. A large part of China's advantage came from the state using its negotiating power to force foreign companies to trade their IP for cheap manufacturing, thus propelling China's intellectual elite back from the dark age that it had been plunged into. Individual Chinese companies probably lost profits for a long time because of this, and much more US, Japanese or European money would have pourn in if they didn't enforce this policy; but, they would be much poorer today.
Edit: note that China is and has always been a capitalist country. They were centrally planned state capitalists, and have moved somewhat in the direction of free market capitalism. But there has never been a period in China's history when production or wealth were democratically controlled.