The billionaire tech executive finds himself mired in a personal and national security scandal.