The Chinese state is cracking down on billionaires and the wealthy, to some extent, mainly as they are a challenge to the states own power. Not as a result of much else. Loyal ones, particularly close to Xi, are left alone.
China continues to be highly neoliberal in business practice, supported and subsidised by the state, if you're in a key industry, particularly as China faces economic downturn. Chinese workers are pliant, and educated. Which is why Elon Musk is there.
The proletariat do not hold the power in China, they are seen as a threat by the Chinese elite. Hence a heavy surveillance state, and large propaganda arm.
The transition from socialism to capitalism, in theory, does not include a devolution back to capitalism lol. Xi Jinping has created more wealth for the Chinese elite than any other previous Chinese President. Unless you think the Germans were also socialist during the 30's and 40's.