The Morality of Artificial Intelligence