The incidents in Austin raise questions about how self-driving cars “learn” and adapt to their surroundings.