You cannot have it both ways, if you're going to sell the software to awful regimes who target people like journalists, you're responsible for the outcomes. The fact they found it was used on Khashoggi family phones would seemingly implicate them in the murder of a journalist. Did they kill him? Probably not. But if their software is being used by governments who did kill him, then they contributed.
I hope they get criminally held responsible for assisting in the murder of Khashoggi if they are found guilty and we need laws and norms to catch up to a place where this kind of business is more restricted/limited.