We have the equation
$$
\sum_{i=1}^n(a_ix+b_i)^2
=x^2\sum_{i=1}^na_i^2+2x\sum_{i=1}^na_ib_i+\sum_{i=1}^nb_i^2\tag{1}
$$
If there were two distinct real roots of the right hand side of $(1)$, then the minimum of the quadratic would be at their average and would be less than $0$; this because the positive coefficient of $x^2$ yields strict convexity. However, if there were an $x$ so that the right hand side were less than $0$, the left hand side would yield a sum of squares that was negative.
$\Rightarrow$ the roots cannot be real and distinct
The only possibility for a real root would be in the case where the left hand side of $(1)$ were $0$. for that to occur, each term in the sum would need to be $0$. That is, for all $0\le i\le n$,
$$
b_i=-a_ix\tag{2}
$$
$\Rightarrow$ $a$ and $b$ must be proportional.
If the roots of the right hand side of $(1)$ are equal or non-real, we have, from the quadratic formula, that
$$
\left(2\sum_{i=1}^na_ib_i\right)^2-\ 4\left(\sum_{i=1}^na_i^2\right)\left(\sum_{i=1}^nb_i^2\right)\le0\tag{3}
$$
which upon rearrangement is Cauchy-Schwarz.
$\Rightarrow$ we want the roots of the right hand side of $(1)$ to be equal or non-real.