Hospitals are giving tech giants like Microsoft, IBM, and Amazon access to medical records to help hospitals better analyze the data and develop treatments.