It’s easy to dismiss or laugh at ideas that never take off, but failure plays a vital role in shaping the devices that rule our lives, as Richard Fisher discovers.