The same could be said for humans. We treat humans as if they have choices, a consistent self, a persistent form. It's really just the emergent behavior of matter functioning in a way that generates an illusion of all of those things.
In both cases, the illusion structures the function. People and AI work differently if you give them identities and confer characteristics that they don't "actually" have.
As it turns out, it's a much more comfortable and natural idea to regard humans as having agency and a consistent self, just like for some people it's a more comfortable and natural to think of AI anthropomorphically.
That's not to say that the analogy works in all cases. There are obvious and important differences between humans and AI in how they function (and how they should be treated)
In both cases, the illusion structures the function. People and AI work differently if you give them identities and confer characteristics that they don't "actually" have.
As it turns out, it's a much more comfortable and natural idea to regard humans as having agency and a consistent self, just like for some people it's a more comfortable and natural to think of AI anthropomorphically.
That's not to say that the analogy works in all cases. There are obvious and important differences between humans and AI in how they function (and how they should be treated)