How do you train a robot to interact appropriately with people?

SAN FRANCISCO -- When you picture the future of transportation, you probably see lanes of autonomous cars driving highways full of humans hither and yon, with no carbon-based life forms taking control of the wheel ...