In the last few years the pendulum has been swinging back from inhouse engine to Unreal Engine. There are a couple of holdouts, but my guess is that the majority of AAA games currently released are back on UE - at least it feels that way ;)
And Unity always ruled supreme for AA and mobile games.
Swinging back? Was UE used more widely in the past than it is now?
[dead]
A couple of holdouts? Hardly. Capcom uses the RE Engine. Released ~4 games with it in the past three years. In fact, SF6 went from UE to RE Engine. Death Stranding 2 is Decima. Id still uses IdTech, and that's never changing. Ubisoft still uses Anvil, and Outlaws was Snowdrop. EA still uses Frostbite. Bethesda continues to use their crappy engine, which I forget the name of. FromSoftware will likely never give up their engine, which has been used for Elden Ring and its successors. There's more that I can't be bothered to look up.