That's definitely not true...at the level of the TDF, every gram of excess weight matters, and there's a vast weight difference between a cheap $5k bike and a "fancy" $20k bike.
If you're not at the TDF level, there's no point in spending more than $2k on a bike since the difference in weight won't matter.