New York City alleged the company violated its Fair Workweek rules upwards of 500,000 times between 2021 and 2024.