Amazon is preparing to lay off thousands of employees in a broad corporate workforce reduction that could begin as early as next week.