It was created by the film's songwriters, Richard M. Sherman and Robert B. Sherman, who needed a word that sounded extravagant and nonsensical to fit the song "A Spoonful of Sugar."
The word has no real meaning beyond its playful, whimsical sound. It's been used to describe something wonderful, fantastic, or extraordinary, often with a playful or humorous intent.