Canadian province alleges deadly attack could have been prevented if company had warned police of shooter’s ChatGPT use