As with security and privacy, the only real solution is user choice. On Android, if you don't like the app store(s) that came with the device, you can use another one or none at all. On iOS, you have to get apps from the App Store.
This only holds if you don’t need/want/care for banking apps or things like Netflix. More apps are requiring hardware and software attestation like my sibling mentioned.