Behind every technological breakthrough is the accumulation of countless failures.