I once saw the phrase or utterance or whatever "nyum nyum" in a children's book written around 1900. I understand this is common in East Asian countries, China, Korea, Vietnam, among others, so maybe it travelled to Europe and the US and got slightly altered over time.