The US government obtained that data by illegally tapping into Google's data centers, which means the government was still the entity violating the 4th amendment.
If you want to criticize Google's data collection, fine, but doing it in terms of the 4th amendment is just nonsensical. If you want to criticize companies for collecting data that could subsequently be illegally collected by the government, then every single company that collects any PII/private information could be criticized on the same basis.