I just wanted to add that this may not apply to the original Xbox and PS4, as there are emulators based on QEMU. These are XQEMU/xemu and Orbital.
Of course if your goal is to just have games from OG Xbox playable on a PC that is fine (if anything for most games it is an improvement as they'd run smoother) but if you want cycle accurate emulation it doesn't fit the bill. In that case basing the emulator on something like 86box might be better as that has been designed with the goal of achieving cycle accurate PC hardware emulation.
And the PS4 uses a custom AMD x86-64 chip.
An Xbox 360 is slightly more difficult as that is a PowerPC architecture (RISC vs. CISC of x86) Same for the PS3 except you also have those incredibly weird "SPE" cores to try and emulate as well.