On the Morality of Artificial Intelligence