Most of the job losses will come from human resources and retail including its shops Amazon Fresh and Go.