Tech companies and universities are trying to use mobile devices to get a handle on the spread of COVID-19.