The pandemic fueled a tech boom, but now tech companies are scaling back hiring and hunkering down for a tougher economy than expected.