Unraveling the obsessions, near-misses, and rivalries that turned a lucky lab mistake into a world-changing breakthrough