The big effect of all these things is to make stuff cheaper and easier in the US. Cheaper land, cheaper energy, cheaper food. It means America can generate more capital with less inputs than anywhere else. That capital is then available to other industries, like tech.
Canada has lots of land, although it's generally much colder, less fertile, and just worse. They have oil, only it's thousands of miles away from the economic centres. They have arable land, also thousands of miles away from population centres (also far inland). And they border a hyperpower who could destroy them in a glance.