I'm tempted to say the female orgasm but we didn't invent that, we only discovered it - and I've heard that some unfortunate souls are still looking!
If you want a serious answer, my nomination for the most ingenious invention of all time goes to the humble magnetron. You can warm up yesterday's leftovers while you keep a lookout for enemy aircraft. Not bad for a diode stuck in a magnet!