I have written the following Proof but i am unsure about whether it is valid could you please verify that the argument is right
NOTE: $\mathcal{L}(V)$ denotes the set of all linear transfomations from $V$ to $V$ and $I_n = \{j\in\mathbf{Z^+}|j\leq n\}$
Theorem. If V is finite-dimensional and $U$ is a subspace of $V$ that is invariant under every operator on $V$, then $U = \{0\}$ or $U=V$.
Proof. Assume on the contrary that $U$ is invariant under all $T\in\mathcal{L}(V)$ and that $U\neq \{0\}$ and $U\neq V$ which implies that $1\leq\dim U=n< \dim V = m$, furthermore since $U$ is a subspace of $V$ we may invoke a basis namely $u_1,u_2,...,u_n$ for it which could be extended to a basis for $V$ namely $$u_1,u_2...,u_n,u_{n+1},u_{n+2},...,u_m$$
Now consider the Linear operator $T:V\to V$ defined such that $Tu_j = u_{m-j+1}$ for $1\leq j\leq m$. Let $u\in U$ such that $u = \alpha_1u_1+\alpha_2u_2+...+\alpha_nu_n$ where $\forall j\in I_n(\alpha_j\neq 0)$, consequently by applying $T$ to $u$ we have $$Tu = \alpha_1Tu_1+\alpha_2T_2+...+\alpha_nTu_n = \alpha_1u_m+\alpha_2u_{m-2}+...+\alpha_{m-n+1} = w$$ but $w\not\in U$ because with the above choice of $u$, $\alpha_mu_m\not\in U$ for every possible dimension of $U$ contradicting our original assumption of $U$ being invariant under all $T\in\mathcal{L}(V)$.
I'd say your proof is good, but you're doing too much work.
Suppose $U\ne\{0\}$ and $U\ne V$. Then there are $u\in U$, $u\ne0$ and $v\in V$, $v\notin U$.
Extend $u$ to a basis $\{u=u_1,\dots,u_n\}$ of $V$. Then there exists $T\in\mathcal{L}(V)$ such that $T(u_1)=v$ and $T(u_i)=0$ for $i=2,\dots,n$. Since $v\notin U$, but $u=u_1\in U$, we see that $U$ is not $T$-invariant.
(The idea is similar to yours, actually, but the proof is much simpler.)