Amazon shares have trailed most Big Tech peers this year, but an increase in cloud capacity could spark a revival.