i wonder what the fantasy genre equivalent of malevolent ai is

Star That Carved Its Name In Darkness
i wonder what the fantasy genre equivalent of malevolent ai is
The fantasy equivalent of a malevolent AI is a rogue elemental/spirit of nature/whatever the fuck.