Apple produces all of its own devices and it's impossible to install another app store on the phone without jailbreaking (since app's don't have permissions to install other apps).
Now if someone created an app store on MacOS (Homebrew for example) and Apple started prompting users to uninstall Homebrew I'd reason they'd be subject to losing a lawsuit.