The correct formula unit for the ionic compound aluminum iodide is \( \text{AlI}_3 \).
In this compound, aluminum (Al) has a +3 charge and iodine (I) has a -1 charge. To balance the charges, three iodide ions are needed for each aluminum ion, resulting in the formula \( \text{AlI}_3 \).