Building intelligent machines can teach us about our minds – about who we are – and those lessons will make our world a better place. To win that knowledge, though, our species will have to trade in another piece of its vanity.