AT&T can do it at a low cost because it owns the cellular network. Cablevision only owns cable lines, and it's pretty hard to connect a cable line to a moving train.
It can be done wirelessly with repeaters on the poles.
Remember metricom ricochet? They used transmitters on utility poles.