In 2009, BlackBerry controlled half of the smartphone market. Today that number is one percent. What went so wrong?