The H1-B is a "dual-intent" visa -- you can be on it while pursuing citizenship. This differs from the TN status available via NAFTA, for example.
Additionally, the H1-B has a 6-year limit in theory (3-year limit, renewable once), but can be extended past that limit if the holder is at a certain stage in the permanent resident application.
Most of these workers strongly desire to immigrate to the Untied States on a permanent basis, and the truly skilled ones (I'm not talking about ones hired by outsourcing giants) work really hard (and usually get paid really well), and contribute significantly to the company (and as such, to the United States as a whole).
(And certainly the temporary status factors into the fact that they exist and how many are granted and all of that stuff. FWIW, I think the U.S. immigration policy is a disaster, we should be letting far more people in and looking for ways that we can help to improve the situation in Central America (because presumably that will reduce the most common sort of illegal entry).)