The surprising history of automated trash trucks explains why cities hesitate over longer-lasting pothole repairs—and why safety changes the argument.