Iphone 6 vs Galaxy S5

Thinking of changing my phone soon and debating between the big 2: iPhone 6 and Galaxy S5. Not trying to start a flame war, just comparing the components/build quality. 

It seems like Samsung charge themselves a lot for the material (so as to justify the price). I mean, Galaxy S5 camera component is more expensive than iPhone's even though it's made by Samsung. Ditto for the SDRAM. NAND and power management components are cheaper than iPhone's which should be the case since Samsung manufactures them. Strangely, iPhone uses Samsung processor, but Samsung uses Intel processor. Wonder why Samsung won't use their own processor which is actually cheaper than Intel. 

Hmm...rumors are already swirling around the next generation. Probably best to wait for one more generation.