Foreseeable harm in generative artificial intelligence