New York City's proposed ban on large sugary soft drinks has been declared "dead" after a state court refused to reinstate it, reports have said.