A $28 billion merger in 2023 created Canadian Pacific Kansas City, which connects Mexico, the U.S. and Canada.