A new law could give New York City regulators the powers to crack down on Airbnb.