I can imagine technological "divorces" will happen more often going forward, as the polarization between the G7 and the BRICS++ members grows.
The author of the linked article suggests that they should get some form of memorialization. When Linus is finished berating Sam for working at Halliburton during the Iraq war, something that by analogy I guess he has every right to do, this advice should probably be taken.
No, they aren't, in general international law. They may be between partners in a multilateral agreement that provides trade terms, but they are specifically allowed on national security grounds within the largest such organization and the only one I am aware of where both the US and Russian Federation are members, the WTO, under GATT Article XXI(b).