Amazon has been on a tear, with the pandemic accelerating the consumer shift to e-commerce from brick-and-mortar retail.