Some of the tech sector’s ailing giants have been freely handing out pink slips over the past several years, with varying degrees of success.