Microsoft has become a global behemoth, through chapters that have included Windows, phones, gaming, the cloud and a few tussles with the federal government.