For 2019+ [brand new] bicycles that retail under 1500, two components stand out to me.
worst imo are the tires. Going off of experience [usage, memory logged distances] the "factory" tires barely last a season compared to the tires I select separately for use.
best (subjective) chain. Unless retailers have a reallllly good process to replicate a knock off name brand chain, the bicycle is typically fitted with a well known reputable brand for a chain.
__________________
-Oh Hey!