From self-driving cars, it's a well known fact that the public doesn't like the technology. According to an article in the New York Times, the Waymo car was attacked many times by angry humans who don't seem to like modern technology. The first impression is, that this kind of anti-technology harassment is a typical sign of the neo-luddite movement who are against technology, especially if it has to do with Artificial Intelligence and robots.
On the other hand, it's surprising to see that no such attacks are reported against self-driving railway trains. Instead, most customers are happy with autonomous railroad vehicles.
quote: “Approximately three-quarters of the respondents (77.6%) can generally imagine using autonomous public transport regularly in the future.” 
Can this difference in public perception be explained somehow, especially under the constraint, that the software for controlling autonomous vehicles is in both cases the result of Artificial Intelligence research projects.
 Wielding Rocks and Knives, Arizonans Attack Self-Driving Cars, https://www.nytimes.com/2018/12/31/us/waymo-self-driving-cars-arizona-attacks.html
 Pakusch, Christina, and Paul Bossauer. "User Acceptance of Fully Autonomous Public Transport." ICE-B. 2017.