Amazon will continue investments in Amazon Web Services despite investor concerns that the company is sacrificing margins.