Treasury secretary says it depends ‘where the buck stops’ as US president and key tech leaders call for former chief’s reinstatement