If one takes the logarithm of this product,
$${\mathfrak{r}}=\log \prod_{i=1}^n \frac{f(x_i)}{g(x_i)} = \sum_{i=1}^n \log\frac{f(x_i)}{g(x_i)}$$and turns it into an average
$$\bar{\mathfrak{r}}_n=\frac{1}{n}\sum_{i=1}^n \log\frac{f(x_i)}{g(x_i)}$$the law of large numbers applies, hence one gets the almost sure convergence
$$\bar{\mathfrak{r}}_n\stackrel{\text{a.s.}}{\longrightarrow}\mathbb{E}_h\left[\log \frac{f(X)}{g(X)}\right]=\int_\mathfrak{X} \log\frac{f(x)}{g(x)}\,h(x)\,\text{d}x$$assuming this integral is well-defined [counter-examples are easy to come by].
For instance, if $f$, $g$, and $h$ are densities for the Normal distributions with means $\mu_1$, $\mu_2$, and zero, respectively, all with variance one, the value of
$$\int_\mathfrak{X} \log\frac{f(x)}{g(x)}\,h(x)\,\text{d}x$$
is
$$\int_\mathfrak{X} \{(x-\mu_1)^2-(x-\mu^2_2)\}\,\varphi(x)\,\text{d}x=
\mu_1^2-\mu^2_2\,.$$
Note also that, without the averaging, the product $$\prod_{i=1}^n \frac{f(x_i)}{h(x_i)}$$almost surely converges to zero (when $x_i\sim h(x)\,$). While the product $$\prod_{i=1}^n \frac{f(x_i)}{g(x_i)}$$almost surely converges to zero or infinity depending on whether $g$ or $f$ is closer to $h$ in the Kullback-Leibler divergence sense (when $x_i\sim h(x)\,$).