Aren't there power delivery versions of HDMI?
I can understand requiring a license for any power wires behind walls.
I could also see the possibility that it's just an old law that doesn't consider data-only cables which don't have the safety issues that wires carrying power do.