Sam Altman spoke to the Senate Judiciary Committee about the dangers of artificial intelligence on Tuesday.