Let $\{X_i\}$ be a family of non-empty, Hausdorff spaces. Prove that if infinitely many of them are non-compact then every compact subset of the topological product $\prod X_i$ is nowhere dense.
In order to show that some compact $K\subset \prod_i X_i$ is nowhere dense, we need to show first that $\text{int}(\overline{K})=\emptyset$. Now since $\prod X_i$ is Hausdorff, we can say that $\overline{K}=K$. So the problem reduces to show that $\text{int}(K)=\emptyset$. Now one information that we still didn't use is $\color{red}{\text{infinitely many of them (i.e.$ \ X_i$ for infinitely many $i$) are non-compact}}$. But how to conclude the result from there is not clear to me. Any help is appreciated.