Contrary to popular belief, a carbon fiber bicycle is actually much more durable and lasting compared to the above mention material. Over a prolong period of use, metallic material such as steel or aluminum will experience a phenomenon called metal fatigue, where the material will soften and weaken over use. Leaving the bicycle unused for long period of time will also cause problem such as rust or corrosion. Carbon fiber on the other hand can theoretically last forever. Due to the elasticity and the material make up of carbon fiber, it has shock dissipation characteristic. The design of the frame must be carefully planned out so it is able to withstand real world scenarios, load and stress.
Needless to say, carbon fiber is not indestructible. Striking a steel or aluminum bicycle frame with a hammer with enough force will cause it to bend, not to mention, carbon fiber frame will suffer the same fate. A crash that will destroy a metal frame will also destroy a carbon fiber frame.