As technology companies and the techies who work for them have headed to cities, they have increasingly been blamed for the deepening problems of housing affordability and urban inequality.