Can't speak for other countries, but the actual reason why smaller towns have more of their historic heritage intact in Germany is that the larger/more important ones were sadly bombed to bits during WW2. Of course, after the war, the open spaces created by bombardment were used to enable "car-friendly" cities, but that was a secondary effect...