this is a legitimate problem in robotics.
like, if you're a bomb disposal guy and your team has a cool bomb-disposal robot which you've given a cutesy name to, you may hesitate to put that robot in harm's way, which is NOT OPTIMAL in the bomb-disposing field.
it also doesn't help if you hold funerals for the robots after they get exploded (this happens pretty regularly).
anyway nobody has worked out how to stop humans from pack-bonding with literally inanimate objects and they probably never will. (like even knowing it's a problem, I *still* think those EOD robots deserve funerals).
im just gonna leave this here and let someone smarter than me elaborate: