Amazon to lay off 10,000 corporate and technology jobs