SF will decline, too. Not by 50%. Maybe by 10-20%. That was the pattern, even in established parts of NYC, in during the last housing crash.
I’d suspect the effect would be more pronounced in SF than NYC. Unlike NYC, most of the housing stock in SF isn’t co-ops or condos, thus no HOA boards to police what kind of loans people can take.