Microsoft spans enterprise software, cloud infrastructure and consumer products. Its shares combine recurring subscription demand with spending on AI capacity.