I worked with folks that worked and both HP and Oracle...
As large companies, they have a large contigent of H-1Bs, some of which are very good engineers, who prefer to stay in a large company (and put up with it) until they get their green card...
after they get their green card, they fan out to smaller companies/startups....
so, yeah, it is a loss.... (albeit small) for the bay area