New York City’s pioneering, focused approach sets rules on how companies use the technology in work force decisions.