Tech Companies Amassing Cash Billions, But Spending Frugally