Microsoft rises from irrelevance with big bet on cloud