You shouldn't overstate the homogeneity.
We're probably more homogeneous here in European Union. Granted, China is a log bigger.
The biggest industrial centers (like Guangdong or even Shanghai) don't even use Mandarin on a daily basis.
Yes, alas, the thing that makes this whole thing going is the central government.