[guided]Fix one index $i\in\{1,\dots,n\}$. The reason for deleting $X_i$ from the estimator is that the remaining estimator no longer depends on $X_i$. Define
\begin{align*}
\mathcal F_{-i}:=\sigma(X_j:1\leq j\leq n,\ j\neq i).
\end{align*}
Let $\mathcal B(\mathbb R)$ denote the Borel $\sigma$-algebra on $\mathbb R$. By construction from the theorem statement, $\hat f_{h,-i}:\mathbb R\to\mathbb R$ is determined by the random variables $X_j$ with $j\neq i$. More explicitly, its finite-sum formula is built from the Borel-measurable kernel $K:\mathbb R\to\mathbb R$ and the measurable coordinate maps $X_j$, so $(\omega,x)\mapsto \hat f_{h,-i}(\omega,x)$ is $\mathcal F_{-i}\otimes\mathcal B(\mathbb R)$-measurable. Thus it is legitimate to treat $\hat f_{h,-i}$ as an $\mathcal F_{-i}$-measurable random function. Since the theorem assumes that $X_1,\dots,X_n$ are independent identically distributed random variables with common density $f$, the random variable $X_i$ is independent of $\mathcal F_{-i}$ and its law has density $f$ with respect to $\mathcal L^1$.
The precise tool is the following conditional integration identity. Suppose $G:\Omega\times\mathbb R\to\mathbb R$ is $\mathcal F_{-i}\otimes\mathcal B(\mathbb R)$-measurable and $G(\cdot,X_i)$ is integrable. Then
\begin{align*}
\mathbb E\left[G(\cdot,X_i)\mid \mathcal F_{-i}\right]
=
\int_{\mathbb R}G(\cdot,x)f(x)\,d\mathcal L^1(x)
\end{align*}
almost surely. Why is this true? For non-negative $G$, independence says that the joint law factors into the law generated by $\mathcal F_{-i}$ and the law of $X_i$, and the latter has density $f$ with respect to $\mathcal L^1$. Tonelli's theorem then gives the displayed identity after testing against every bounded $\mathcal F_{-i}$-measurable random variable. For signed $G$, we apply the non-negative result to $G^+$ and $G^-$ and subtract the two finite identities; integrability of $G(\cdot,X_i)$ ensures that this subtraction is legitimate.
Now take $G(\omega,x):=\hat f_{h,-i}(\omega,x)$. The integrability hypothesis
\begin{align*}
\mathbb E\left[\left|\hat f_{h,-i}(X_i)\right|\right]<\infty
\end{align*}
ensures that $G(\cdot,X_i)$ is integrable. Therefore the conditional integration identity gives
\begin{align*}
\mathbb E\left[\hat f_{h,-i}(X_i)\mid \mathcal F_{-i}\right]
=
\int_{\mathbb R}\hat f_{h,-i}(x)f(x)\,d\mathcal L^1(x)
\end{align*}
almost surely. The same identity applied to $|G|$ shows that the integral on the right is absolutely finite almost surely. Taking expectation on both sides and using the defining property of [conditional expectation](/page/Conditional%20Expectation) gives
\begin{align*}
\mathbb E[\hat f_{h,-i}(X_i)]
=
\mathbb E\left[\int_{\mathbb R}\hat f_{h,-i}(x)f(x)\,d\mathcal L^1(x)\right].
\end{align*}
This is the key unbiasedness mechanism: leave-one-out removes the dependence between the evaluation point $X_i$ and the estimator being evaluated there.[/guided]