McDonald's Corp. has settled some of the first public nuisance lawsuits in the nation brought by workers over COVID-19 protections.