San Francisco’s real estate market has received a blow since many tech companies shifted base to other cities owing to bad governance and stringent rules.