Merck is the most exposed to risk from generic competition in the short term, but AbbVie, Johnson & Johnson, Sanofi and others will also grapple with patent losses in the years to come.