The firings come amid a tense debate about AI safety and whether the technology presents an existential risk to humanity