Suppose that $f(x) \not \to 0$ as $x \to \infty$. This means that:
$$
\exists \epsilon > 0 : \forall M > 0, \exists x > M : x > M \implies \left|f(x)\right| > \epsilon
$$
Since $f$ is uniformly continuous, for this $\epsilon$ there is $\delta > 0$ satisfying:
$$
\forall x, y > 0 : |x - y| < \delta \implies \left|f(x) - f(y)\right| < \epsilon/2
$$
Putting the two together, we find that:
$$
\forall M > 0 : \exists x > M : y \in (x -\delta, x +\delta) \implies f(y) > \epsilon /2
$$
Thus:
$$
\int_{x-\delta}^{x+\delta} \left|f(y)\right| \,dy \ge \dfrac{\delta \epsilon}{2}
$$
This process can be repeated as many times as we like. We start by finding $x_0 > 1$. Next, we find $x_1 > x_0 + 2\delta$. And we continue by finding $x_n > x_{n-1} + 2\delta$. None of the intervals $(x_n - \delta, x_n + \delta)$ overlap. Thus:
$$
\int_0^\infty \left|f(y)\right| \,dy \ge \dfrac{\delta \epsilon n}{2} \quad \forall n \in \mathbb{N}, n > 0
$$
We conclude that $f$ is not Lebesgue integrable.