There's no miracle. It's merely the communist party stopping 40 years of criminal abuse of its own citizens, and deciding to rent them out for pennies to the foreign corporations, and making billions in the progress (then allowing its members to escape China with the money).
The miracle actually is that Communist party, with its massive debt, crashing economic policies, authoritarian policies, censorship, human rights abuse, trashing of its environment/food supplies/water supplies, is still standing.