The London Stock Exchange is to buy Canada's TMX to claw back lost market share and create the world's fourth-largest bourse trading $4.1 trillion of stock a year.