The New York state has reportedly dismissed a lawsuit that accused PepsiCo of polluting the environment with single-use plastic packaging, with the judge criticizing the state's attorney general, Letitia James, for bringing up the case last year.