I'm fairly certain the AI can go into debt as much as it likes and keep on spending. It appears to cheat rather a lot on VH, possibly training more than one unit a turn.

It would also explain why making an AI faction your protectorate drains your cash (I'm told), because you're paying off their huge debts!