If I had to instead use devices like this on a road that can also easily have people walking on them, I can easily see crashes and many injuries happening.
There is just a need for making roads for cars smaller, and creating 2 extra separate roads for pedestrians and bikes/electrical vehicles (would rather have 3 roads, electric bikes can be annoying, but it's not always possible).