Apple announced Tuesday it is suing Israeli technology firm NSO Group for creating software it says surveilled and targeted Apple users, and has filed for a permanent injunction to ban the group from using Apple products.