Well, option #1 is to build somewhere else. Is every square foot of SF subject to liquifaction? Or is it just the cheapest piece of ground? Is it that the local government has zoning rules that simply prevent development and density in the places that would be safer? To be clear, I don't blame developers for finding the cheapest option- that's how capitalism works. It's up to governments to make the rules such that the cheapest options are also the best ones.
Second, is there anything that can be done such that the soil won't suffer from liquifaction or will to a lesser degree? Probably expensive to do, yes, but surely there are means.
And there's probably a million other ideas that might work that I don't even know of. It's silicon valley, that's where ideas come from, right? "Impossible" usual gets San Francisco types all excited.
There's a downvoted reply to my original comment saying that I haven't actually tried to build these- and they are correct. I'm not a civil engineer. But I am a firm believer that if you make strong regulations and enforce them, clever engineers always find a way, at a cost. But the hard part of that isn't the engineering, it's having the political willpower to enforce strong rules.