I'll start on the last suggestion. First note that for $a,b,c\ge 0$, if we tweak them like this: $$ a\mapsto a+\epsilon, \quad b\mapsto b-\frac{b^2(c^2-a^2)}{a^2(c^2-b^2)}\epsilon, \quad c\mapsto c+\frac{c^2(b^2-a^2)}{a^2(c^2-b^2)}\epsilon $$ then both $x+y+z$ and $1/x+1/y+1/z$ change by only $O(\epsilon^2)$. So now tweak $a_{k-2},a_{k-1},a_k$ like that. Up to $O(\epsilon^2)$, the right side doesn't change and the left side changes by $\Delta_k\epsilon$, where $$ \Delta_k = -\frac{k-2}{S_{k-2}^2} + \frac{k-1}{S_{k-1}^2}\, \frac{a_k^2(a_{k-1}^2-a_{k-2}^2))}{a_{k-2}^2(a_k^2-a_{k-1}^2))}, $$ writing $S_t=\sum_{i=1}^t a_i$. If we are looking at the largest possible left side for given right side, then we must have $\Delta_k=0$ for $3\le k\le n$. This determines $a_3,\ldots,a_n$ in terms of $a_1,a_2$. We can also take $a_1=1$ wlog, so there is one free parameter $a_2$.
Note that for given $a_2$ the sequence is independent of $n$, however for large enough $n$ and any $a_2>1$, the sequence eventually becomes complex for large enough $n$. The best value of $a_2$ depends on $n$.