The e-commerce behemoth has a long history of ruthlessly focusing on efficiency.