And hell, a decent portion of SF at least land-wise is covered in single-family homes and duplexes, many (most?) of which are decently spacious and have garages. Even in cities, Americans tend to have more space than equivalently-situated Europeans.
Common most of the houses in outer richmond, sunset, ingleside, ... have multiple in-law units and converted garages. The cost of living is too expensive in those cities.