Of course, OpenWRT still kills it in terms of support for standards. FRITZboxes have their own stupid mesh protocol that's only compatible with other FRITZboxes, not implementing e.g. 802.11s.
So there's a lot of non-standard tech available in those boxes and it is no huge surprise that this is kept proprietary.
The point is the manufacturers have a much higher incentive to ensure everything works than open source developers.
The ASUS firmware at least seems to support way more features than Tomato did, at least without resorting to the command line. E.g. my ISP requires the VLAN ID to be set. I doubt open source router GUIs have a nice option for that.
The sad thing is ten years later the market is still dominated by devices with half its RAM.
I don't believe they would have been in much legal issues: they'd have to make sure the copy of DD-WRT they shipped was fine, but if you get updates / flash your own, there's no reason they'd be on the hook.
https://www.gl-inet.com/ uses OpenWRT as a base for their firmware, and also provides clean images or you can install from OpenWRT images directly. Their specialty seems to be the form factor of the devices, and while they put some effort into a web frontend, and it's fine, they also make OpenWRT support a feature.
Buffalo does something similar.
legal is not about what is true or right or fair or probably it is about risk reduction/mitigation. A 20% chance to lose court case is too much. Or even chance of bad PR is something to be avoided.
Look at the longevity of this router and all the features: "it was the perfect way to turn your $60 router into a $600 router". With closed firmware, you can artificially lock features and prevent everyone from adding them to cheap devices. You can also stop updating firmware after few years so everyone trash old devices and buy a new one.
Fun fact: Open Source is good for the environment.
Routers aren't really the kind of devices that become obsolete quickly though, are they? A bulk of all users will just use they one they will get from their ISP. Since the main interest of ISPs is reduce ongoing costs for support (reduce calls to hotline and sending out technicians for the setup of a new router), they should also be motivated to provide cheap, long lived routers.
If this could be done, it would have been done already.