Both tech giants posted eight straight quarters of revenue growth, but their profit margins and business strategies reveal notable contrasts.