CNN is planning to lay off hundreds of employees to refocus the business around a global digital audience.