If SF is so ridiculously expensive, it makes every kind of sense for restaurants to raise their prices accordingly.
The only reason for restaurants to have paper thin margins is if there are too many of them. That will probably change once their waiting staff disappears.