The easiest solution is that they've simply lied to the 'H1Bs' and immigration officials as well - brought them in on tourist visas or some other arrangement.
Once you're in the country, even if you overstay your visa nobody is going to come to deport you. The problem arises once you leave the US and want to come back again - visa overstays will be a huge black mark then.