Even as Google tests its small fleet of self-driving vehicles on California highways, legal scholars and government officials are warning that society has only begun wrestling with the changes that would be required in a system created a century ago to meet the challenge of horseless carriages.