It famously took Thomas Edison thousands of attempts to settle on a practical design for the incandescent light bulb.