.
...because the people that make and sell them have targeted an income demographic that is happy to pay whatever the going price seems to be. As has already been state, not all modern bikes are expensive. Only the ones marketed to a certain, relatively small, user demographic. That small segment of the marketplace has followed the economics of all luxury products. I can find sunscreen that costs quite a bit, too, relative to the regular stuff.