とんでもない (meaning "not at all" or "outrageous!") come from?
Could it be
飛んでもない ? ("will not even jump/fly" in a similar way how "When pigs fly" is considered a remark for something outrageous?)
Or is there a more complete sentence in which
とんでもない was taken out of?