Pichai came to the USA as a student and worked initially on an H-1B visa as did Musk. Musk once claimed he would "go to war" supporting this program though he may feel differently today.
Given that much of "big tech" is staffed and run by immigrants why would we not expect big tech to be pro open boarders at least as it relates to tech employment?
Cynically: Greed and cynicism. Greed first. The tech workers who wanted to come here have always been able to come, so open borders are not going to increase the supply of tech workers much. But it is going to increase the supply of low-level workers, which results in lower prices in a number of areas. That makes tech workers better off, because at least some of the stuff they buy is cheaper.
The cynicism part is cynicism about America. They see it as nothing special, as having no special character worth preserving, as either neutral or negative overall. So if mass immigration happens, and it changes the character of either politics or culture, who cares?
If you go into the midwest though there's more animosity about being replaced by lower-wage foreign talent. In my experience when US-born engineers support immigration strongly it seems to be a holdout from their college years, and not something they picked up since starting their career.
I don't believe that is actually a commonly held capital "L" Libertarian belief though, and certainly would not associate myself with that party.