Do you notice that the comparison was used to justify real slavery?
So? There is a fundamental difference between "wage slavery" and slavery. "Wage slaves" can always choose to leave and find some other way to feed themselves, whether it's becoming an entrepreneur, finding a better paying job, etc.