Yahoo adds to the growing list of tech companies cutting jobs as consumer and corporate spending shrink.