I'm no legal expert, and I have no familiarity with Unity's licensing terms. So I didn't want to outright call what they are doing illegal.
For all I know they did technically have a clause in their licensing agreement that allows them to do this. But that wouldn't make it any less of a scum move imo.
It'll be interesting to see what the lawyers will make of this.