We grant rights to some animals. Most domesticated animals have very few rights and suffer fates you wouldn't wish upon your worst enemy.
Having rights should not be based upon being conscious/not conscious, but on the ability to suffer. AIs cannot suffer, as far as I'm aware.