Why tech spending will rise even as tech stocks tank and layoffs mount