Few companies have demonstrated more grit than Nokia, which, despite selling its mobile phone handset division in 2013, has gone on to become a major player in the 5G race. But it must be wary not to repeat the mistakes of the past