Computer programmer John Lewis is in the middle of developing a sexually themed virtual-reality game when one of his newly created female subjects starts to hit on him — and it’s not just his imagination.