Human-machine collaborative driving