The crux of the problem is that $\{a_i\}_{i \in \mathbb{N}} \in c_0$.
Suppose $a_n \to 0$, so that $a \in c_0$ (we call the sequence $"a"$). Then for all $\epsilon>0$ there is sufficiently large $k$ such that $|a_k| < \epsilon$. So approximate $A$ by its finite rank truncations $A_N$ with $A_Nx = \{a_nx_n\}_{x=1}^{N}$. It is well known that finite rank operators are compact (I urge you to think about this, if you haven't seen this fact). So then we want to show that $\|A_n - A_m\|$ is Cauchy, so then by the Cauchy Criterion $\{A_n\}_{n \in \mathbb{N}}$ will be uniformly convergent.
So, we have for $n>m >k$,
$\|A_n - A_m\|^2 = \sup_{\|x\|_2 =1} \sum_{i=m+1}^n |a_ix_i|^2 <\sup_{\|x\|_2 =1} \epsilon^2 \sum_{i=m+1}^n |x_i|^2 \le \epsilon^2$
since $\|x\|_2=1$, and dropping squares we see this proves uniform convergence by the Cauchy Criterion. To see that $A_n \to A$ in norm, we have that $\|A-A_n\|^2 \le \displaystyle \sup_{\|x\|_2 = 1} \sum_{i=n+1}^\infty |a_ix_i|^2 < \sup_{\|x\|_2=1} \epsilon^2 \|x\|_2^2 = \epsilon^2$. Then $A$ is the uniform limit of compact finite rank operators and thus $A$ is as well (the uniform limit of compact operators is compact).