CUPERTINO -- Apple has filed a lawsuit against Israeli spyware company NSO Group and its parent company to hold it…