MI5 chief 'frustrated' as China spy case collapses