Apple is already facing antitrust actions regarding its walled garden. I doubt apple would be eager to give authorities more ammunition.
Alternative app stores will likely come to ios in one form or another. I think the smarter reaction would be for apple to offer an official API so that it can remain somewhat in control.