There is no good reason to believe that autonomous vehicles are actually safer. They haven’t yet been tested enough, and the testing that has been done cannot be generalized to new situations.
I believe they would be safer if all roads were fully digitized, controlled, with no pedestrians and no other human drivers. We have something like that, now, called railroads.
Mass transit is the better investment.