Amazon.com Inc. reported strong advertising and cloud growth in its latest earnings, but plans for sharply higher capital expenditures unsettled investors, sending the company’s shares lower…