The (Nietzschean?) counterargument here is that slave-labour enables division of labour and frees enough from non-specialised labour (e.g. individuals being responsible for all of producing food, building dwellings, providing security, raising children, caring for the elderly etc, and thus not being particularly good at any of them) to allow the emergence of a 'caste' of full-time scientists, engineers. Such a 'caste', such division of labour is required to drive technological progress to a level where slavery becomes unnecessary.
My historically uninformed and naive suggestion would be that ancient Greece was an example of the latter while most other societies with substantial slavery (such as South America and Africa) were examples of the former.
Aside: Any serious discussion of slavery must begin with the question: what do you mean by "slavery", for the term is used in wildly different ways.