Pharmaceutical giant Eli Lilly is entering a partnership that could reshape how medications are discovered and developed.