Emerging from the dinosaurs’ shadows, mammals went from underdogs to global power, with game-changing adaptations that would conquer land, air and sea.