That doesn't follow, Apple provides 6 different purposes for collecting data linked to the user:
* Third-Party Advertising
* Developer’s Advertising or Marketing
* Analytics
* Product Personalization
* App Functionality
* Other Purposes
The features you mentioned would fall under "App Functionality" and as you imply it would be legitimate. The reservation with Facebook is all the data they collect for the five other purposes. In my own analysis of thousands apps[0] I explicitly excluded data collected for app functionality purposes because of this. FWIW most of Facebook's app collect 128 data types(by far the most of the ~5000 apps I've analysed) across those five purposes, WhatsApp collects only 18.
0: https://hugotunius.se/2021/01/03/an-analysis-of-privacy-on-t...