There was a time not too long ago when tech companies enjoyed broad public support and adulation. Now they face widespread opposition and criticism from almost all corners. The shift from one to the other has long been c…