Amazon is rolling out machines to automate a job held by thousands of its workers: boxing up customer orders.