Honestly? Because I see self driving cars as expensive toys for rich people[1], and I don’t feel like spending tax dollars or making other concessions to subsidize that.
I think the analogy to railroads is a bit tenuous. There are immediate benefits to connecting two sufficiently separated points with a rail line. A single stretch of properly marked and instrumented roadway is relatively worthless[1].
[1] Trucking being a potential exception.