One reason to sign multinational treaties to build aircraft - such as Tornado, Typhoon and Tempest - is that they make it incredibly hard to cancel politically, and unlikely to be financially worthwhile once penal clauses due to the cost the remaining partners is taken into account.
The same holds true for SSN-AUKUS, except the penalty clauses and costs would be far higher due to the nuclear element….