While that is currently the case roads, railways and canals were historicaly built and owned by private companies. At least in the UK this required an eminent domain analogue (although it generaly involved a dirrect act of parliment in each case) in order to allow the existance of say turnpikes more than a few miles long.
Was the same wrt roads in the US till ~1850s IIRC when private road company scheme went into decline. The regional governments would obtain the land and give a franchise to the road/turnpike/plank-road company. Railroads private. Canals, like the Erie, mostly public I think.