Silicon Valley only leans left in American thinking.
The powers that be in the region like taxes to be as low as possible, want minimal government regulation, want speech as unfettered as possible, and support barrier free or at least reduced trade.
What keeps them out of the GOP is they also believe that in matters personal, your business is your business. If you don’t conform to gender and sex norms that’s a big so what because your business is your business. Silicon Valley does not just need an educated workforce (and they really have to have an educated workforce), they also need an educated customer base.
Like all capitalists, they also need customers. There are two models prevalent, people pay for your goods and services, or the sellers of goods and services pay to have access to potential buyers. There is genuine fear among many in Silicon Valley that their innovations designed to get people to pay for software and hardware to replace workers will increase unemployment and reduce the potential base of people to buy goods and services. You cannot make money selling goods and services to people who cannot afford to buy them and you cannot make money offering access to people who cannot afford what is offered.
In most of the rest of the nations with large economies the powers of Silicon Valley would be right or center-right. In the US having to choose between imperfect options, they lean to the US left.