Indeed we have the limit
$$\lim_{x\to\infty} \frac{x}{\pi(x)} - \log x = -1.$$
We have the estimate
$$\pi(x) = \operatorname{li}(x) + O(xe^{-\sqrt{\log x}/15})$$
cited in wikipedia. Now, for the logarithmic integral, we have
$$\operatorname{li}(x) = \frac{x}{\log x} + \frac{x}{\log^2 x} + o\left(\frac{x}{\log^2 x}\right),$$
and $e^{-c\sqrt{\log x}}$ is $o\left(\frac{1}{\log^k x}\right)$ for all $k > 0$. So
$$\pi(x) = \frac{x}{\log x} + \frac{x}{\log^2 x} + r(x)$$
where $\frac{r(x)\log^2 x}{x} \to 0$. Thus
$$\begin{gather}\frac{\pi(x)}{x} = \frac{1}{\log x}\left(1 + \frac{1}{\log x} + o\left(\frac{1}{\log x}\right)\right)\\
\frac{x}{\pi(x)} = \log x\left(1 - \frac{1}{\log x} + o\left(\frac{1}{\log x}\right)\right) = \log x - 1 + o(1).
\end{gather}$$
As I just discovered by following a link from an unrelated question,
$$\lim_{n\to\infty} \left(\log n - \frac{n}{\pi(n)}\right) = B$$
is known as Legendre's constant (Legendre conjectured its existence, but of course could not prove it), which was proved to be $1$ by de la Vallée-Poussin (of Prime Number Theorem fame).