For example, Larian (BG3) and Wube (Factorio) each have their own engine. They are specially built specifically for the games they are making.
Also, you say "have been kept modern" but even that is questionable. "Modern?" What does that really mean? It's "modern" enough for the game. Starfield was just released, and it was released without ray tracing.
And we are just talking about games. Unity and Unreal do more than just working on the engine for games. So yes, while it's a lot, it's not fair to compare the bespoke engine use by game companies and engines like Unity and Unreal.
https://arstechnica.com/gaming/2022/03/the-witcher-will-retu...
Source: game dev using unreal
Gaming companies get a lot of crap for this - it seems unfair. The OS I'm using to write this is a relative newcomer at only 30 years old. Obviously, it has changed a lot in that time, but so have the engines. Most software doesn't get rewritten, it evolves.