As artificial intelligence rapidly advances, we must make sure it's used for the benefit of humanity and not to its detriment.