From robotic pets and digital currencies to virtual reality, some of the biggest innovations were once considered failures.