Just because intelligence evolved in people that find rights useful doesn't mean intelligence can only reside in a person.
Living things are driven by a need to reproduce. That's the only reason we exist. The only reason we have self interest.
A machine doesn't require self interest. There's no reason to implement it, except to show it can be done. And of course it can. There's just no practical reason to. It becomes less useful to us.
That is actually a open problem with current models: whether they will act on self-interest or not. There seems to good evidence that they will. See:
https://www.anthropic.com/research/agentic-misalignment
which (among other things) documents an experiment in which a current-gen AI model attempted to blackmail someone in order to prevent it from being turned off.