Xerox will axe thousands of jobs in its 'reinvention' plan