A simpler proof.
We can prove that there are infinitely many irreducibles by adapting Euclid's proof from the integers.
If $k$ is a field, then $k[x]$ has infinitely many irreducibles.
Proof:
Suppose there are not infinitely many irreducible polynomials, suppose there are only $p_1,\ldots,p_n$.
Consider $P=p_1p_2\cdots p_n+1$. Some irreducible $p_i$ must divide it since it has positive degree and is therefore not a unit. (See the note)
But then we have $P=p_iq+1=p_ik$ where $q=p_1p_2\cdots \hat{p_i}\cdots p_n$ and $k$ is the polynomial such that $P=p_ik$, so $p_i(k-q)=1$, and $p_i$ is a unit. Contradiction.
$k[x]$ has infinitely many irreducibles. (This proof of infinitely many irreducibles generalizes to $k$ any Noetherian domain) $\blacksquare$
Note
For the fewest assumptions, we can prove that any positive degree polynomial over a field is divisible by an irreducible by induction.
If $P$ has positive degree and is not irreducible itself, then $P=ab$ for $ab$ both nonunits, and hence both of positive degree (necessarily less than that of $P$). Thus one of $a$ or $b$ is divisible by an irreducible by induction. (Note that the base case here is if $P$ is irreducible).
General case
For the case of $k$ a Noetherian domain, we use the fact that $k$ Noetherian implies $k[x]$ is Noetherian, and the fact that in any Noetherian domain any nonunit is divisible by some irreducible, which is proved in the following manner.
Let $p_0$ be a nonunit. If $p_0$ is irreducible, then we are done. Otherwise $p_0=p_1a_1$ with $p_1,a_1$ nonunits. Now if $p_1$ is irreducible, we are done. Otherwise, we repeat to get $p_1=p_2a_2$, and $p_n=p_{n+1}a_{n+1}$. Then either some $p_{n+1}$ is irreducible, or this continues forever,
but if it continued forever, we get this strictly increasing chain of ideals:
$$(p_0)\subsetneq (p_1)\subsetneq (p_2)\subsetneq \cdots \subsetneq(p_n)\subsetneq \cdots,$$
which is impossible. Thus some $p_n$ is irreducible, and $p_n\mid p_0$.
That the chain is strictly increasing follows from the fact that if $p_n\in (p_{n+1})$, then $p_n\mid p_{n+1}$ and $p_{n+1}\mid p_n$, which in a domain would imply that $a_{n+1}$ is a unit, which would be a contradiction.
Let $M$ be a maximal ideal of $R$. Then $R[x]/M[x] \cong (R/M)[x]$ is a polynomial ring over a field. As @jgon shows, $(R/M)[x]$ will thus have infinitely many maximal ideals, and the ideal correspondence for quotient rings gives us infinitely many maximal ideals of $R[x]$ containing $M[x]$.
– Badam Baplan Jan 06 '19 at 15:09