WHEN Ken Frazier, chief executive of Merck, an American pharmaceutical giant, started his job in 2011, he had a hard decision to make. The firm had promising new drugs—such as Januvia, for diabetes, and Gardasil, a vaccine against cervical cancer. But the pharma industry was struggling with dismal returns on R&D and investors were questioning if companies were overspending on science.