As I mentioned in another comment: what stops NYC from running replacement busses while one of the lines is under maintenance during the night? A bunch of cities do that, for example Berlin, I don't see what stops NYC from doing the same...
Using replacement buses works but would likely damage 24h businesses and take one of New York's advantages away.