Samsung started by making screens for mobile phone. And gradually became the market leader by introducing many models with Android. The brand caters to the mid-lower segment to the higher segment when it comes to pricing.
Samsung grabbed 20% market share, and Apple is at 16.8 % (Source: https://www.business-standard.com/article/ )
Apple is known for its innovation and technology offering. All models are mid-premium to premium ranges. There is no comparison between Samsung and Apple. Both the device runs on different Operating system. And the specs especially camera quality and video recording in 4k mode differs from model to model.
Dont Blink it - Featuring Tim Cook