Depends on utilization and capacity needs. A subway is an incredibly much more inefficient use of capital if it only needs to handle a few passengers an hour between fixed points, let alone non fixed ones.
Sure, it dosen't make sense to build subway lines to replace all roads/highways. However, as bobthepanda's comment says, once the demand on a route exceeds a threshold, mass transit wins by a mile.