You are conflating the communist-capitalist axis with authoritarian-democratic axis.
China is not a communist country in practical terms and hasn't been for 30+ years.
China is not a communist country in practical terms and hasn't been for 30+ years.