Canadian Pacific Kansas City Ltd. is reporting a jump in profits in its latest quarter amid higher revenue from grain and energy shipments, even as container cargo slumped.