Facebook set to fire thousands of staff