French drug giant Sanofi SA is betting that a biotech partnership named after a Star Trek premise will help it crack one of the biggest mysteries in pharmaceutical research: molecules that drive diseases, including some cancers, that have been considered “undruggable” because of their shape.