Same way as high-end sports cars can cost hundreds of thousands or even millions.
Regular commuters are cheap, you can get perfectly good 2nd hand bike for a pocket money, but a high-end enduro bike with state-of-art parts and exotic materials can cost you over 10k.