Apple Inc. launched an app that will let users of the company’s devices to enroll in three health studies, allowing them to share health-related data for medical research.