Samsung losing out to Mediatek is pretty hilarious on its own, given that Mediatek was once known for ultra-cheap, piss poor performing crap [1] and copyright issues [2]. Back some years when I had one of the first CAT rugged phones, which was based on Mediatek, I happened to look at a kernel code dump from them on Github and had I known back then what I know today I could have easily netted me some decent payout for local root exploits.
I don't really know what's more absurd, that Samsung managed to fall behind these guys or that MediaTek actually managed to get a grip on quality well enough to rival and surpass Samsung, a multi billion dollar conglomerate.