James Lovelock: 'Before the end of this century, robots will have taken over'