Tech giants such as Google, Amazon, and Microsoft have long tried to give consumers control over their medical data, often with limited success.