Much likeinsects, birds, and mammals independently developed wings to solve the problem of flight, bothhumans and AI may have developed similar mechanisms to effectively impute mental states toothers.
Well, insects, birds and mammals are natural products. AI is an engineered artefact. In that way I think it's more instructive to compare the human brain and AI to birds and airplanes.
Both airplanes and birds can fly but airplanes use a different mechanism. In many ways this mechanism is simpler and took humans 110 years less to fully understand and harness. https://www.youtube.com/watch?v=Fg_JcKSHUtQ