They almost definitely got this info by simply having the IMEI, which is printed on the back and can definitely be accessed in whatever Apple calls their service mode though.
Google maps decided to take me to Sheetz instead of Wawa, tbf there wasn't a Wawa nearby but it just started navigating instead of telling me that, I would accuse them of having a preference but it's the reverse in the play store where if you search Sheetz the Wawa app comes up first as sponsored.
I mean if GPM or Spotify weren't garbage I'd pay a reasonable amount a month for one, supporting the artists is nice and all but it's not why I don't pay for these services.