AMZN stock underperformed benchmark indices last year and faced a sharp selloff in recent weeks.