NIMBYism, greed, and hypocrisy can be found everywhere, regardless of political party. It is consistent throughout human history. Combating injustice is an everlasting struggle.
Granted SF is space constrained, but there is no excuse for other parts of Cali to be so expensive.
Basically, without data comparing several possible relevant variables along with the actual statistical correlation the factor represents, these types of discussions are IMHO useless.
Paris has a population density 3 times that of SF. Manhattan has 4 times.