Delivery company shares are declining as investors worry Amazon is about to disrupt the industry.