Apple went from near bankruptcy to that $159 billion by sweating the details. (and, I suspect, a certain amount of luck)