It doesn't, really. China sells absolutely fucktons of cars domestically. There are also dozens of brands that most people have never even heard of and don't even get exported because domestic demand for a functional 10-15,000 electric car is so high. Every residential complex is absolutely rammed with cars, ranging from tiny runabouts to Tank 700 plus-sized SUVs.
That demand doesn't exist because everyone lives 5 minutes walk from work and loves the subway. Though millions upon millions of people do both, and subways have expanded probably 1000% or more in the last 15 years, million upon millions also want a car. In many cases they may not represent all the miles a person travels (eg subway to work but car for other trips).
High speed rail also is a replacement for many car miles driven because while a cross-country ticket is expensive, driving is still expensive in fuel and wear and takes days to boot.