Both CNN and NBC News are planning layoffs this week as newsrooms transition away from linear TV toward digital audiences.