Apple has settled a lawsuit filed by a group of investors who accused CEO Tim Cook of making false statements…