Microsoft to buy a 4% stake in the London Stock Exchange Group under a deal to upgrade the FTSE owner's platform to its cloud