Capitalists are selfish, and have short planning horizons. For a capitalist, slavery is absolutely rational. The only reason why they don't do it today is because it's illegal.