But an AI can launch a cyber attack?

That is all the more reason to make humans accountable for the actions their AI prompts produce.