The tech company becomes the latest to announce shocking number of layoffs, gutting nearly a quarter of its workforce.