Consider $\phi \colon I \to \mathbb{R}^k$ analytic curve ( $I$ compact) with image not contained in any algebraic hypersurface. Then for every $d>0$ there exists $N = N(\phi, d)$ such that for every $P\ne 0$ polynomial on $\mathbb{R}^k$ of degree at most $d$, the set
$$I(P) \colon =\{ t \in I \ | \ P(\phi(t)) = 0\}$$
has at most $N$ elements.
Proof: Fix $d$. Consider the set $S_d$ of polynomials $P(x) = \sum a_{\alpha} x^{\alpha} $ of degree $\le d$, with $\sum |a_{\alpha}|^2 = 1$ ( a compact set). Assume that for every $n$ there exists a polynomial $P_n$ in $S_d$ with $|I(P_n)| \ge n$. Using the compactness of $S_d$ and of $I$, we conclude that there exists a sequence $P_n$ of polynomials in $S_d$ convergent to $P$, with $$\{t_{n1}, t_{n 2} , \ldots, t_{n n} \} \subset I(P_n)$$
and $(t_{n k})_{n\ge k} $ convergent to $t_k \in I$ for all $k\ge 1$.
Now we distinguish two cases.
The set $\{ t_k \} \subset I$ is infinite. We conclude $P(\phi(t_k)) = 0$ for all $k$, so the analytic function $P(\phi(t))$ has infinitely many zeroes, contradiction.
The set $\{t_k\}$ is finite. This is like the case of all of the $t_k$ are equal to some $t_{*}$. Now, note that $P_n(\phi(\cdot))$ has $n$ zeroes around $t_{*}$. That means its derivative up to order $n-1$ have zeroes around $t_{*}$. We conclude that $P(\phi(t))$ has all of the derivatives at $t_{*}$ equal to $0$. Since the function is analytic, we get $P(\phi(t)) \equiv 0$, again contradiction.
Note:
We only used the normality of the family $S_d$: every sequence in $S_d$ contains a convergent subsequence (convergence together with all the derivatives, on compacts subsets).
If we only had $\phi$ $C^{\infty}$ then there are again two possibilities: the existence of a number $N = N(\phi, d)$ for the family $S_d$ , or the existence of $P \in S_d$, and $t_{\star} \in I$ a zero of infinite order of the function $P\circ \phi$. As an example, consider the $C^{\infty}$ function $\phi(t) = (t, \exp(-\frac{1}{t^2}) \sin(\frac{1}{t}) )$ on $[-\epsilon, \epsilon]$
Perpahs the most important, we can consider the set of zeroes of $P(\phi(t))$ including multiplicities ( so $I(P)$ becomes a multiset) Again we have a bound $|I(P)|\le N(\phi, d)$ for all $P\in S_d$, or we have a $P$ with $|I(P)|$ infinite
We could replace the image of $\phi$ with a compact analytic set of dimension $1$. Locally it has some parametrizations, so we could reduce it to the known problem. The multiplicity of intersection is harder to figure out, so just leave it at the set theoretic level.
Things become more delicate ( but doable) when we consider an analytic set intersecting algebraic sets of complementary dimensions.