Let me explain.
You get what you pay for, if you buy a good PC it will last just as long as any Mac. The thing is not all PC manufacturers make decent PCs where as because only Apple make the Macs, of course they are going to have a better track life on average because they are the only ones who make them.