EDIT2: H1B transfer does not seem to involve AC21. All that happens is that the new employer will need to apply for a H1B petition all over again. So you are simply tied to the new employer, instead of your old employer.
http://www.immihelp.com/visas/h1b/h1-transfer.html
AC21 is not free, there are legal fees and processing times involved. There is a non-zero cost involved. If this cost did not exist, if an employee could just switch jobs WITHOUT needing the receiving company to do anything, then obviously there would be no wage suppression. Employee can ask for a raise, and simply leave if refused.