For Tech Companies, Years of Easy Money Yield to Hard Times