With the dominant iPhone franchise, Apple has grown into one of the largest companies in the world in the last two decades.