Nintendo does have their own emulators but only for a subset of games. Everything else is third party.

Apple probably doesn't try to prevent iOS apps from being emulated but the fact that it's a fast moving target makes it much less practical.