Once the user's location is known, existing demographic databases, which have been honed over the years to reveal what kinds of people live where, can be brought into play.
Google and Apple responded by saying that users can turn location tracking on their phones off, and that location sent back to their companies for the purposes of creating large crowd-sourced databases is anonymized.