Why is the complex domain of cosine naturally a sphere?
Let me start by saying you are right in a sense, and I think the article is at best being unclear, but the larger point that the equation of ellipse cuts out a sphere is also right. There are a few things going on, hence a long answer below.
What one is trying to describe is the topology of a set defined by a quadratic equation $\frac{x^2}{a^2}+\frac{y^2}{b^2}=1$. Of course it is crucially important to explain what values $x$ and $y$ are allowed to take. In the context to the article, that means whether one allows only real values or complex ones as well (this is the question of choosing the field of coefficients), and whether one allows infinite values and in what sense (this is a choice of compactification). Both of these choices affect the topology of the solution set. If only finite real values are allowed the result is the familiar ellipse in the plane (which has topology of a circle); now one has various options about how to treat adding infinite values of $x$ and $y$. However the (real) ellipse does not go to infinity in any way (it stays in finite part of the plane; or, in other words, it is already compact so needs no compactification; algebraically, no real vector with large modulus can solve $\frac{x^2}{a^2}+\frac{y^2}{b^2}=1$). Thus for this equation over real numbers the second choice is irrelevant. However (spoiler!) it is not irrelevant over complex numbers.
To better see what's going on let's stick to the real variables for now, but consider the equation $uw=1$ instead. The solutions to this in $\mathbb{R}^2$ define a hyperbola and this has topology of 2 lines. Now if we compactify $\mathbb{R}^2$ to the sphere - treating all points at infinity as one - we get one extra point, and the topology of solution set is a wedge of two circles. If we treat $u$-infinities and $v$-infinities as different (compactify each $\mathbb{R}$ to $S^1$, so $\mathbb{R}^2$ is compactified to $S^1\times S^1$), then we get 2 extra points ("$(\infty, 0)$" and "$(0, \infty)$") and a topology of a single circle. We can also compactify $\mathbb{R}^2$ to $\mathbb{R}P^2$ (and still get a circle), or to $\mathbb{D}^2$ (and get two closed segments) or any other number of things, some more natural than others. To finish with the discussion over $\mathbb{R}$, note that if we consider $(u-v)(u+v)=1$ instead of $uv=1$, the two curves in $\mathbb{R}^2$ are isomorphic, but in the compactification $S^1\times S^1$ we get now a wedge of two circles instead of a single circle. This is because the coordinate change of $\mathbb{R}^2$ given by $u_n=u-v$, $v_n=u+v$ taking curve $(u-v)(u+v)=1$ to $u_n v_n=1$ does not extend to these compactifications. This never happens for $\mathbb{R}P^2$, which is one big reason why this is usually the prefered choice of compactification.
Now over complex numbers, the equation $\frac{x^2}{a^2}+\frac{y^2}{b^2}=1$ has a solution set in $\mathbb{C}^2$ which is a cylinder (aka tangent bundle of $S^1$). Then we can compactify by adding one point for "all infinity" and get a "pinched torus" with both infinities of the cylinder filled in by that one extra point; or by adding a point at infinity to each coordinate separately - this is what is done in the article - and still get a "pinched torus", since $\frac{x^2}{a^2}+\frac{y^2}{b^2}=1$ forces $x$ to have infinite modulus as soon as $y$ does and vice versa, so the only added point is $(\infty, \infty)$. However, if we compactify to $\mathbb{C}P^2$ we get two extra points ($[a:ib:0]$ and $[a:-ib:0]$), and topology of a sphere. This is in a sense the "right" compactification of the image, sitting inside the "right compactification" $\mathbb{C}P^2$.
Finally, we should note that this is not so much about the domain of $\cos$ but more about the image of $z \to (a\cos z, b\sin z)$ in $\mathbb{C}^2$ and its compactifications. Whether we can extend $\cos z$ or $\sin z$ or $(\cos z, \sin z)$ to a map of some compactification of $\mathbb{C}$ to somewhere depends on where (which extension/compactification of $\mathbb{C}$ or $\mathbb{C}^2$) we are mapping to, and does not really have so much intrinsic meaning.