L'Hospital's Rule has a lot of hypotheses. You seem to be ignoring the hypotheses on the limits of the numerator and denominator of the original ratio. Let's check a statement of the Rule.
From Calculus: Early Transcendentals, 4th ed. by Rogawski, Adams, Franzosa (p. 250):
Assume $f$ and $g$ are differentiable in an interval $(b,\infty)$ and that $g'(x) \neq 0$ for $x > b$. If $\lim_{x \rightarrow \infty} f(x)$ and $\lim_{x \rightarrow \infty} g(x)$ exist and either both are zero or both are infinite, then $$ \lim_{x \rightarrow \infty} \frac{f(x)}{g(x)} = \lim_{x \rightarrow \infty} \frac{f'(x)}{g'(x)}$$ provided that the limit on the right exists. A similar result holds for $x \rightarrow -\infty$.
(This quote contains an astoundingly common error. As Rogawski explains on p. 72, infinite limits do not exist. A better phrasing of the second sentence is "If it is the case that $\lim_{x \rightarrow \infty} f(x)$ and $\lim_{x \rightarrow \infty} g(x)$ both exist and are zero or it is the case that both limits are infinite [which in Rogawski includes either sign], then ...". This error is common among those who have studied real analysis because in that setting one works in the extended reals, so $\infty$ and $-\infty$ are points in the working set of numbers and can be the value of a limit. In (just) the reals, this is not the case.)
Applying this to your example, $f(x) = \sin x$ and $g(x) = x$. While it is the case that
$$ \lim_{x \rightarrow \infty} g(x) = \lim_{x \rightarrow \infty} x = 0 \text{,} $$
we find that
$$ \lim_{x \rightarrow \infty} f(x) = \lim_{x \rightarrow \infty} \sin x $$
does not exist. (The sine function takes every interval $(b,\infty)$ to $[-1,1]$, so the limit fails to exist. One can arrive at the same conclusion by studying $\lim_{x \rightarrow 0^+} \sin(1/x)$, but with the added advantage that the graph fits on a finite piece of paper.)
So, no, your example is not a special case. L'Hospital's Rule already constrains to which limit expressions it can be applied, excluding the example you give.