Security for AI on ICP

I was listening to this interview - https://www.youtube.com/watch?v=_LD0SvvzRV0. How does ICP secure AI? He talks about vector databases running as smart contracts which I understand but how does one secure this on ICP? I understand data is secure as in replicated and never lost. Is that what the context is for secure here?