Tens of thousands of tins of infant formula have been recalled after testing found a toxin linked to foodborne illness.