That is 6 months, plus a couple thousand dollars minimum, to try to get an H1B status for someone you want to hire.
If an employer is knowingly expecting the person they hire to bail after 6 months, they won't go through the process.
Worst case scenario for the business: they lose a couple thousand dollars and a few months of employee development time, then still have the option to immediately hire the qualified American worker (or try the H1B route again).
Best case scenario for the business: they get an overqualified employee at an extreme discount, since that employee is willing to accept less just to be in America. Since that employee knows it's hard to get H1B status, they're probably willing to work for a discount for many years. (therefore the business makes its money back from other failed H1B attempts, and they retain the employee at a discount)
Then the employer would go back to the H1B well, underpay another worker for 6 months until the worker bailed, go back to the well, lather, rinse, repeat.