A UK judge has issued a warning about a serial sperm donor who has fathered more than 180 children worldwide.