BM has been VERY good to Canada. Way back in the 'old days' of technology, they provided University of Waterloo with a free mainframe computer in gratitude for the work the Computer Science department was doing for software development for IBM mainframes, and the close association has continued. IBM would not even be close to what it is without the graduates from University of Waterloo Engineering and Computer Science.
Some might even go as far as saying that IBM is American in formality only. Most of the heavy lifting is done in Canada. The Quebec chip plant is the largest chip assembly plant IBM has in the entire world.
The benefit to Canada> Jobs, obs, jobs. High tech, high paying jobs. And the brain power of Canadian trained graduates stays in Canada.
Plus, since any sales from products Made in Canada are not subject to the Trump export taxes. it will be cheaper for the world to buy assembled chips from Canada than America.
IBM is, and always has been, a good loyal partner to Canada.
The worst mistake IBM ever made was to sign the agreement with Bill Gates over the development of DOS, instead of going with the actual creators of DOS. But then again, when they signed the deal. IBM had projected that, in their wildest conjecture, they would sell AT MOST 250,000 PC's. Then along came Visicalc and turned the computer world upside down. Visicalc made the PC a business tool necessity. That and Wordstar.
https://retrocomputingforum.com/t/ibms-volume-forecast-for-the-personal-computer/1595