Proof (Maschke, complete reducibility)
Let $\tilde U$ be any direct complement of $U$ in $V$, i.e. such that $V = U \oplus \tilde U$ as vector spaces, and let $\tilde q: V\to U$ be the projection of $V$ onto $U$ along $\tilde U$, i.e. $\tilde q(u+\tilde u) = u$ for $u\in U, \tilde u\in \tilde U$.
Define for $v\in V$, $$ \begin{align*} q(v) = \frac{1}{|G|} \sum_{g\in G} g\,\tilde q(g\inv v), \end{align*} $$ well-defined as $|G|\neq 0$ in $k$.
Check $q$ is a projection of $V$ onto $U$:
-
$q: V\to U$ because $\tilde q(g\inv v)\in U$ and $U$ is a $G$-invariant subspace.
-
If $v\in U$, then $g\inv v\in U$, so $\tilde q(g\inv v) = g\inv v$, and thus $q(v) = v$.
-
$q$ is clearly $k$-linear, so $q$ is a projection of $V$ onto $U$.
Therefore linear algebra says $V = U \oplus W$ as vector spaces where $W = \ker q$.
Moreover $ϕ$ is $G$-linear: for any $h\in G$, $$ \begin{align*} q(h v) ={}& \frac{1}{|G|} \sum_{g\in G} g\, \tilde q(g\inv h v) \\ ={}& \frac{1}{|G|} \sum_{g'\in G} hg'\, \tilde q(g'\inv v) &g' = h\inv g \\ ={}& h\,q(v). \end{align*} $$ Thus $W = \ker q$ is a $G$-invariant subspace. Hence $V = U\oplus W$ as representations.