OpenAI CEO Sam Altman has apologized to a community in Canada after a mass shooting by a banned ChatGPT user.