This sounds like you're referring to state actors and intelligence agencies, but really this applies to the entire advertising/surveillance industry of people trying to sell you a new flavor of soda.
Unless anonymization is provided by your browser, there is nothing you can do to prevent such identification technology run by these advertisers to build your profile, and send you targeted ads.
The OS could treat certain apps as untrusted and spoof or limit the access to these unique identifiers.
It can take a lot of effort to make yourself truly just blend in and disappear.