Let $(X,d)$ be a metric space. Let $I$ be an infinite set such that for all $i\in I$ let $A_i\subset X$. Show that $$\cup_{i\in I}\bar A_i\subsetneq \overline{\cup_{i\in I} A_i}$$ where the bar denotes closure.
Earlier we showed for just two sets $A,B\subset X$ that $$\bar A \cup \bar B=\overline {A\cup B}$$ so I don't understand how switching to an infinite union breaks this equality, or generally how to prove this statement.
Thanks!