How long should a cpap machine last?

Shopping for a CPAP machine, and having to eat a lot of the cost of it. How long do these machines tend to last? Are there particularly brands that are more durable?