Wall Street is underestimating Amazon.com Inc.’s ability to become more efficient, according to an analyst.