Sony got into big trouble with the Playstation 3 because it was an exotic machine and hard to program so they created the PhyreEngine which was a cross-platform toolkit that made it practical to target many competitive platforms
https://en.wikipedia.org/wiki/PhyreEngine
which ironically was based on Microsoft’s .NET. It was capable of making AAA games but also accessible to independent devs. Many games are based on other platforms like Unreal that make many aspects of the game portable. Of course games have graphics, sound and real-time requirements that most applications don’t have.