Data harvested by tech giants Google and Apple has illustrated the sharp impact of coronavirus containment measures.