Kansas City Southern has terminated its merger agreement with Canadian National Railway and is entering into a merger agreement with Canadian Pacific, from which it received a better offer. CP valued the company at $33.6 billion and offered Kansas City common stockholders 2,884 shares of CP common stock and $90, and preferred stock at $37.5.