When I got the XSX recently, it was so I can play Starfield when it comes out. That was basically the only reason. I did not realize the extensive backwards compatibility that this thing has. But since getting it, I've been playing FF13 trilogy, Fable games, Dragon Age series, Lost Odyssey, etc. Basically all games of note going all the way back to the OG Xbox will play on the latest console. Either with the original disc, or you can even purchase them online.
The point of my post is I think it's a real travesty that PlayStation doesn't do this. I don't understand it. First of all, you cannot buy most PS1-PS3 games on the digital store. You can't use the discs. The main way to get access to these games is through the top tier of PS+. But the selection is quite limited, and PS3 games in particular are streaming only.
With the selection, I want to point out that you can't even play most of the Killzone series on PS+. This is a first party title. There is absolutely no reason that Killzone shouldn't be available. Killzone 1 isn't even on there. A PS2 title that is not graphically demanding.
As for the streaming of PS3 games, maybe this was justifiable back on the PS4 because the PS3 has a unique architecture that can be difficult to emulate without performance drops. But with the capabilities of the PS5, it's not credible to claim that it can't emulate a PS3. It certainly could, if Sony wanted to assign resources to make an emulator.
I am not a fanboy of one or the other, and I probably still play more on the PS5 than my Xbox, but I think Microsoft should market their backwards compatibility superiority a lot more than they currently do.
Sony changed their CPU architecture every time until PS4/5. The only reason some PS3s could play PS2 games is because they had also had PS2 hardware in them. Xbox has been x86 the whole time.
The Xbox 360 was based on the same weird, in-order PowerPC 970 derived CPU as the PS3, it just had three of them stuck together instead of one of them tied to seven weird Cell units. The TL;DR of how Xbox backwards compatibility has been achieved is that Microsoft's whole approach with the Xbox has always been to create a PC-like environment which makes porting games to or from the Xbox simpler.
The real star of the show here is the Windows NT kernel and DirectX. Microsoft's core APIs have been designed to be portable and platform-agnostic since the beginning of the NT days (of course, that isn't necessarily true of the rest of the Windows operating system we use on our PCs). Developers could still program their games mostly as though they were targeting a Windows PC using DirectX since all the same high-level APIs worked in basically the same way, just with less memory and some platform-specific optimisations to keep in mind (stuff like the 10MB of eDRAM, or that you could always assume three 3.2GHz in-order CPU cores with 2-way SMT).
Xbox 360 games on the Xbox One seem to be run through something akin to Dolphin's "Übershaders" - in this case, per-game optimised modifications of an entire Xenon GPU stack implemented in software running alongside the entire Xbox 360 operating environment in a hypervisor. This is aided by the integration of hardware-level support for certain texture and audio formats common in Xbox 360 games into the Xbox One's CPU design, similarly to how Apple's M-series SoCs integrate support for x86-style memory ordering to greatly accelerate Rosetta 2.
Microsoft's APIs for developers to target tend to be fairly platform-agnostic - see Windows CE, which could run on anything from ARM handhelds to the Hitachi SH-4 powered Sega Dreamcast. This enables developers who are mostly experienced in coding for x86 PCs running Windows to relatively easily start writing programs (or games) for other platforms using those APIs. This also has the beneficial side-effect of allowing Microsoft to, with their collective first-hand knowledge of those APIs, create compatibility layers on an x86 system that can run code targeted at a different platform.
The PowerPC cores aren’t the problem, emulating that is pretty straightforward. It’s the many SPUs that present a huge headache to emulate in a performant manner.
And yeah, MS building everything on Windows and DirectX also makes things considerably easier.
Funnily enough, one of the few legitimately impactful non-enterprise uses of AVX512 I'm aware of is that it does a really good job of accelerating emulation of the Cell SPUs in RPCS3. But you're absolutely right, those things are very funky and implementing their functions is by far the most difficult part of PS3 emulation.
Luckily, I think most games either didn't do much with them or left programming for them to middleware, so it would mostly be first- and second-party games that would need super-extensive customisation and testing. Sony could probably figure it out, if they were convinced there was sufficient demand and potential profit on the other side.