Chinese ride-sharing company Didi Chuxing is to invest in and collaborate with Uber rival Taxify to grow its network across Europe, Africa and Asia.