The cost of something doesn't always correlate with the technology, components, and material. A Hermes bag doesn't even have a single circuit in it compared to headphones and laptops. Yet it costs more.
This is false equivalence. You're describing the luxury market, a vertical that is built on decoupling the raw material cost from the price tag. And in reality it is more nuanced than just raw material as there is a lot of cost in r&d/marketing/operations etc. Nevertheless, products targeted to general consumers are much more sensitive to that deviation.