To a reasonable approximation, you get what you pay for. The big names have lifetime warranties on their frames.
Most of Trek, for example, has a weight limit of around 275 for rider+bike+etc., and a lifetime warranty.
The result is that many of the bikes are no lighter than aluminum or sometimes even steel. Even more so with Santa Cruz bikes.