Let $M$ be the maximum of $f(x)$ over $[a,b]$.
First,
$$
\left(\int_a^bf(x)^ndx\right)^{1/n}\le\left(\int_a^bM^ndx\right)^{1/n}=M(b-a)^{1/n}\to M\quad(n\to\infty).
$$
Let $x_0$ be the point where $f(x_0)=M$. Fix arbitrary small $\epsilon>0$. There exists $\delta>0$ such that for $x\in[x_0-\delta/2,x_0+\delta/2]$ we have $f(x)\ge M-\epsilon$ (or if $x_0=a$, or $b$ we can take one side $\delta$-neighborhood). This means that
$$
\left(\int_a^bf(x)^ndx\right)^{1/n}\ge\left(\int_{x_0-\delta}^{x_0+\delta}(M-\epsilon)^ndx\right)^{1/n}=(M-\epsilon)\delta^{1/n}\to M-\epsilon\quad(n\to\infty).
$$
This means that for sufficiently large $n$ both inequalities can be written as
$$
M-2\epsilon\le\left(\int_a^bf(x)^ndx\right)^{1/n}\le M+\epsilon,
$$
which make the limit existing and equal to $M$.