Nokia has won a multi-year contract with Telefonica to deploy AI-enabling networking solutions to support its new Edge data centre network across Spain, the Finnish group said on Thursday.