The problem in SF is not that property developers don’t want to build high density housing. It’s local government and NIMBY-ism actively blocking and restricting it.
NIMBYism in SF real estate is all about people protecting their $2+ million investments. If the "gold bar" suddenly becomes a major tax liability NIMBYism will dissipate.
Building regs are only a small part of the story.