Ignoring the obvious moral question, in a primarily agrarian economy slave labor is useful because it's relatively easy to control and there is no need for specialization. OTOH in an industrialized society you wouldn't want slaves even if you could have them.