San Francisco builds housing less like Houston and more like the decaying Rust Belt city of Detroit.