If we wanted to make an AI that is baically an artificial human. Obviously AIs that are specifically made for specific work and don't have the full capabilities of a human brain are just advanced tools.
We could make humans easier. AIs are workers so we don't have to. I don't think there will be enough pseudo humans to think about general rights for them. But never underestimate human stupidity and narcissism.
But if an AI acts in all respects like a person, why shouldn't it be considered one?
Because my mirror image also isn't considered one. -> See why should we give them feelings at all. An only mimic humans isn't enough.
Sponges don’t have emotions, yet eventually animals developed neurons and brains which have the capacity for emotions, even though some might not have them. An evolving AI might develop emotions, or it might not. The initial program doesn’t determine the future if evolution is allowed to occur
If we ever get to that, we have bigger problems than giving them some rights. And if it occurs in biological evolution speed we can discuss this again in 2 million years.