It’s arguable whether the worm has intelligence of any kind, after all it wouldn’t even need it.Neither the worm or AI has any intelligence to compare because they don’t really think at all
AI isn’t called AI because it can think. AI is just a tech buzzword for predictive algorithms