Maybe (some of) the information collected by the OS vendor is used for these purposes. The majority of it, the stuff sent by third-party SDKs back to that third party, is just to enable customer profiling or "analytics".
Sorry, what’s this straw man argument that you’ve attributed to me? That I’ve asserted every piece of data collected by Android goes toward a public good?