AI was not required to produce these behaviors.
Prosocial interactions are important for certain groups to stay sane not everyone. The evidence is in the fact every culture has produced some form of monastic life. And we have major religions like Buddhism built and surving for thousands of years on foundations of detachment. Thats is not an accident because people arent all alike. Philosophy even teaches "Detachment and Flourishing" - https://oyc.yale.edu/philosophy/phil-181/lecture-8