> Consoles have emulators

All of them written by hobbyists, without support from console manufacturers, isn’t it?

Is there anything that Apple does to prevent hobbyists from writing an iOS emulator? If so, do other manufacturers do better?

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.