A US court has ordered NSO Group, an Israel-based cyber intelligence firm, to cease targeting Meta Platforms' WhatsApp messaging service - a ruling that the spyware company warned could put it out of business.