The solution is to dilute it with tech entrepreneurs and investors from outside NZ and recreate the landscape.
I live in Wellington and the tech scene here, although small, is quite vibrant.
There is no reason why we can't accommodate those companies and workers who want to move out of SF. The govt will need to give heavy tax incentives and easy route to residency for those entrepreneurs who move their company here.