Man 'assaults' security robot