As with most things in life, bikes used to be so simple back in the good old days. Mainly, they had to be light, which meant steel was supplanted by aluminium, titanium and magnesium. Then carbon composites arrived. Brands got wise to the potential the new material held for bike design, allowing engineers to introduce specialisation.
Some bikes could be made lighter than any metal could ever achieve for the same stiffness;