We once denied the suffering of animals in pain. As AIs grow more complex, we run the danger of making the same mistake