Because the operating system controls that and you can tell the operating system to deny these features.
And Google and Apple are doing this because... why? Is Bytedance paying them a shitload of money? Are their CEOs secret CCP plants?
If you are concerned about this, how would even refusing to install TikTok protect you? After all, Google and Apple could simply collect the data directly in the OS and send it to Bytedance themselves.
I would recommend looking into some independent thinkers and doing your own research on the collusion between these big companies. There's definitely some out there, however they suspiciously get removed from HN as soon as they're posted.