bikes are a name branded frame and stuff bolted onto it,
all components are someone's choice.
bike companies a Product Manager does the selection and parts cost math..
if you get a bare frame then the decisions are yours..
but the pricing is, each, not in lots of a thousand.