Qualcomm has its "IZat" system where:
- every AP's BSSID your phone sees is sniffed by a program running continuously in the background, mapped to a latitude/longitude if possible (via GPS or any phone location means) and sent to their servers,
- So that other devices can send a list of AP BSSIDs and signal strengths and get a triangulated location within 5-10 meters.
So the server ends up with a global database of AP locations, and also the location of every device in the world using the service within ~5-10 meters.
They've had this in action since 2012.