The firm struggled to compete with rivals as well as facing pressure to improve workers’ conditions.