Samsung, the world’s largest technology firm by revenue, has reported another record-high quarterly profit as customers flocked to Galaxy smartphones amid the absence of competitors, which helped the South Korean firm outdo rivals even at one of the most challenging times for the global tech industry.