The software foundations games are built on (rendering, physics, animation, audio hooks, scripting, editor, and ports to every platform), licensed to studios for royalties or seat fees, or built in-house by the largest publishers.
Game engines are one player in the video games industry, and an industry of their own, with their own suppliers, customers, software, regulators, and money flows. This full map is on the roadmap.
Meanwhile: how game engines fit into video games