I think its also about making stuff last. I bought a spesh enduro ex demo 5 years ago for about 1500, still using it and racing it and its an awesome bike. Better than its rider. I must be the last 26er left at some races and most of the other riders have had 3 bikes in the time I had this one.
Of course the 2 shocks, 2 forks, 3 complete drivetrains, 3 dropper posts, 3 pairs of wheels and multiple saddles, bars, pedals I have had over the last 5 years have pushed the cost up a tiny bit..