You are not accounting for surface area for both countries or population density.
Germany has even higher population density than China (245 vs 137). Of course we have to account for the gobi desert but even so population shouldn't be a factor of comparison.
I agree that the comparison is not fair though, mainly because the infrastructure development between both countries is vastly different, a better infrastructure helps in distributing population over large areas in my opinion.