From Amazon to Lyft to Twitter, here are the tech companies tightening their belts and laying off staff