Apple is doing that since iOS 5 (the oldest I could find) and there is probably no way to opt out. In fact it's even worse.
Source: https://support.apple.com/en-in/HT202339
But apple is good while Google bad :)
Edit: found out a newer post [1] with absolutely no mention on how to opt out.
They also send barometeric pressure level for some reason. They might also start sending device temps to predict the temperature at different places across globe and "help their customers" [1] https://support.apple.com/en-us/HT203033