BlackBerry announced massive job cuts and warned of a loss. With sales of new phones slumping, the company's future looks increasingly bleak.