There's no sensible rail options for a lot of the US. Putting aside the vast suburbs and exurbs (which can and sometimes do make use of rail), much of this country lives in thousands of small towns, many of them isolated and economically insignificant. And they tend to have aging populations who need transit options. Rail will never solve transportation for that population, but robotaxis can.