Nokia has sold off its mobile business to Microsoft. The decision follows the fact that it has gradually lost ground to Apple and Samsung.