State by State, Gig Companies Maneuver to Shape Labor Rules