The companies were once close rivals — with a similar size, reach and global clout — but their paths have diverged in recent years.