A remarkably lifelike robot could replace human carers in keeping dementia patients company.