Microsoft Corp is investing in South-east Asian ride-hailing firm Grab as part of a partnership that the two companies said will allow them to collaborate on technology projects, including big data and artificial intelligence.