Amazon combines retail and logistics with a large cloud business. Its shares reflect consumer spending, fulfillment efficiency and enterprise computing demand.