Good idea, let's make that a requirement too. The law could be something like "if you sell a general purpose computing device, you're not allowed to mandate software vendor lockin". That would open up so many possibilities, it would be great for the people who own consoles.
One major, technical differences from PCs, is the uniformity of the hardware. This is becoming less true, but consoles traditionally have fixed hardware. No "works on my machine" problems on consoles. This also guarantees stable performance characteristics, that developers can optimise for. (This is less true now that consoles are resembling PCs more and more internally).
This is even more visible on older consoles: take an N64 (PS2), plug in a cartridge (insert a CD), and voilà you have your game, completely separated from any other program. Perhaps one of those programs could be GNU/Linux, but the default would still to be running on the bare metal, without interference from other programs. Quite unlike the PC there.
Incidentally, I could see a new game console solve the Thirty Million Lines Problem. https://caseymuratori.com/blog_0031 Fixed, powerful hardware with a well defined interface could possibly trigger the OS competition that is so sorely lacking rights now: Windows, Linux, MacOS, IOS, Android, and if you pick a particular niche (Server, Mobile, Desktop), you'd rarely see more than 2 significant contenders.
For example, is my microwave a general purpose computing device just because I can upgrade the firmware, even if the firmware has to be signed by the manufacturer?
They run authorized programs, not arbitrary programs.
What is the downside?
1. If Apple didn't allow the sale of third party content, they would be in the same position as Epic and therefore there would be no problem?
2. If Epic allowed the sale of third party content, they should not be allowed to control what type of content is sold, nor should they be allowed to collect a percentage of each sale?