Rampant living costs have led to an exodus from the capital of tech.