Máquinas Como Eu by Ian McEwan

In an alternate-1980s London, a young man buys one of the first highly humanlike androids and, along with his romantic partner, tests the machine’s emotional capacities, creating a tense love triangle that forces all three to confront questions of consciousness, moral responsibility and what it means to be human; the story uses political and technological divergences as a backdrop for ethical dilemmas about agency, culpability and empathy, with morally ambiguous choices that unsettle personal relationships and societal norms.