^^Apple don't design the hardware though they use an Intel i5 like every other laptop maker.
I see the issue nowadays as os vs os. An apple laptop will contain the exact same hardware as a pc laptop, the same low powered mobile processors and low powered graphics (needs to be run off a battery). Indeed both pc manufacturers and apple now stuff their desktops with the same laptop components as it keeps them nice and slim.
So you use el capitain on an i5 with 8gb of ram or Windows 10 on an i5 with 8gb of ram. You choose your flavour. Apple will be better optimised.
Of course if you build a proper desktop pc with proper cooling and full fat processors and GPU's the laptop powered Apples can't begin to compete