Paris is not on a fault line either. Or built on large portions of land that suffer from liquid faction.
For example, Tokyo and Seattle. San Francisco even has the advantage of being merely fault adjacent. In cases like Seattle, a major thrust fault runs through the city. It doesn't prevent dense construction.