Apple Inc. Chief Executive Tim Cook has said the company’s greatest contribution to mankind will be in health. So far, some Apple initiatives aimed at broadly disrupting the healthcare sector have struggled to gain traction, according to people familiar with them and documents reviewed by The Wall Street Journal.