However I am confident that if the US keeps on the trajectory it's on this will change.
Canada is not competing with the US on how many Canadian-started companies exist. All the FAANGs have offices in Canada, which they will probably expand more. Immigrants that used to head to the US will now go to Canada instead, enriching the labor market further. If the US immigration system remains broken, Canadian offices of US companies will just get bigger.
Anecdotally, my wife worked for Apple Canada a decade ago in marketing, and at that point there was no engineering happened / allowed to happen in Canada, really. It was kept in Cupertino pretty strictly. But I've noticed in the last 5 years this is no longer the case and Apple -- who was probably most reluctant to do engineering outside of the valley -- is doing way more of it and a plenty of it in Canada it seems.
I work at Google Waterloo, and though I can't get into specifics about office sizes etc, I can definitely say two things: lots of growth, plenty of it from new Canadians but also a lot from Canadian Googlers returning from the US back to Canada in many cases because they couldn't tolerate the situation there anymore.
Last couple of years it feels like every week I see an email from somebody asking for advice etc. for relocation.
For two of my immediate coworkers/friends, both did it a bit after they had kids, and began to contemplate having kids in the American school system[s], and away from grandparents, etc.
It certainly makes it easier transferring within the same company. I think many Canadian SWEs coming back to work after being in SV would find the job market to be rather frustrating/annoying if they had to hunt for a new job. Transferring within the same company takes the edge off.
I'm virtually certain that Canada will not have a single tech company with the market cap as large as the tenth largest US tech company within in the next 25 years.
If anything Canada is actively losing ground against the US tech industry. In the past it used to have RIM, Nortel, Bell North and Corel. Today the largest Canadian tech company is "Constellation Software".
And the reason for the decline is simple. Canada's best and brightest don't go into tech. They go into real estate and property development to extract value out of the insanely overheated housing market.
And ironically this ties back to the immigration discussion. One of the major contributing factors to the housing shortage is because of Canada's aggressive pursuit of wealthy emigres. The housing market in places like Vancouver has turned into a slush fund to launder the money of CCP party members and other third world kleptocrats.