The plight of the electronics company is a story of missteps by managers who failed to anticipate shifts in the global electronics industry.