ChatGPT-maker OpenAI says it considered alerting Canadian police last year about the activities of a person who months later committed one of the worst school shootings in the country’s history.