WhatsApp has sued the Israeli cyber surveillance firm NSO Group over claims that it hacked WhatsApp users earlier this year.