Watched Battle Angel Alita the other week. The characters in it had a lot of character despite having mostly robotic bodies, so I'd say as long as we have that we are human. At the earliest I think we'll start losing it when we begin getting neurally symbiotic with an advanced AI.