Kodak was the Google of its day, now it is at death’s door. Fujifilm, its old rival, is thriving. Why?