Even with this week’s weakness, Amazon.com stock has been outperforming the retailers whose businesses it’s challenging.