The most famously innovative and successful companies all had to survive similar early-stage mistakes and failures.