Exactly, corporations care not for the legality. It’s just that the very existence of a signed NDA opens up the power to suit, countersuit or in general drown a person in so many administrative fees that they are condemned to eternal poverty anyway. Whether the actual text is legal or not is irrelevant. An NDA is a weapon in many other ways.