Deserve might not the apt word in this case. Sentience will be the deciding factor of course. Simple automation will not have rights nor should it. But Sentient life might be a different story all together. AI has come a long way since its conception so who knows.
yeah its intresting to think about.