Both NYC and SF are rent controlled areas. Rent control is cancer that punishes younger and newer inhabitants while making rent cheap for the rich. In fact, NYC has more vacant apartments than homeless people.
There are plenty of rent stabilized apartments in NYC, but that's a much different and weaker thing, and isn't comparable to rent control in SF.