Some companies offer incentives for sharing medical data and undertaking health-improvement regimens. Others impose penalties for not doing that. Either way, the programs raise troubling questions.