Unlike a TN visa for Canadians or an Australian E-3 visa, the H-1B is an immigrant visa that is one of the few paths to a green card.
So they're actually the opposite of indentured servitude where there's a path to permanent residency and citizenship. Unlike many other visas that people use to work in the US.