Both senses of the word are derived from the Latin "Primus", meaning "of the first rank, chief, or principal" ... The reasoning behind naming the Church boss is obvious. Ihe Human version comes from the rather Victorian concept that humans are the highest order of mammals.
Presumably the people bitching about the Facebook AI are racists who don't think that black people can be first at anything, much less a higher order animal.