I just had the AI play unholy frenzy on one of it's allies who only had 1 HP. This ally didn't have any armor or anything, there was no chance for them to survive. The AI just literally killed their own dude. This was in the campaign, Cardstock II secret preview, 1st level.
The AI performs a lot of pointless and sometimes literally suicidal moves due to its rather limited / generic programming being used for the many different cards available to it. Unfortunately, the dev team doesn't seem to consider this much of a priority to improve at the moment.