TORONTO—Silicon Valley is invading Toronto.

Intel Corp. has announced plans to build a graphics-chip design lab in Canada’s largest city. Car-hailing service Uber Technologies Inc. will be opening an engineering hub. Google’s parent, Alphabet Inc., proposed building a new Toronto campus as part of a sensor-laden “smart city” on the Lake Ontario waterfront, and Microsoft Corp. said it would expand its Canadian workforce by more than 20%.

There...