Write a comparative analysis of Apple and Samsung.