Iain Bank's Culture series deals with self-conscious machines with the same rights and freedoms as humans. Each machine has a value denoting its mental equivalence to a human, and some starship Minds are close to gods (similar to comparing a human to amoeba).
'Never forget I am not this silver body, Mahrai. I am not an animal brain, I am not even some attempt to produce an AI through software running on a computer. I am a Culture Mind. We are close to gods, and on the far side. ‘We are quicker; we live faster and more completely than you do, with so many more senses, such a greater store of memories and at such a fine level of detail. We die more slowly, and we die more completely, too. Never forget I have had the chance to compare and contrast the ways of dying.’ [1]
Robot series is good, Foundation series by him is brilliant.
Also check out The Culture novels by Iain M Banks (he was the closest recent author to be a great the equal of Wells, Huxley or Orwell (imo) just a phenomenal writer).
The Polity series by Neal Asher are well imagined and he world builds brilliantly.
What you want to read by Asimov (much more relevant to the present topic), is this story "The Dead Past",
(do not click on the below link as it would spoil it):
However the final words by Araman (which I won't cite, again to not spoil the effect) are memorable and very, very suited for these times.
The April 1956 "Astounding Science Fiction" where it was originally published is available via Internet Archive, read the story first (it is just 40 pages):
Speculative Fiction was ahead of the curve in that era.