From cornflakes to the pacemaker, some of our most beloved—and useful—products were born of blunders.