Ah, my favorite theorem, The Hairy Ball Theorem!
To phrase it another way, could you explain why the magnetic field is tangent to the sphere and not normal to it?
The force magnetic fields apply is always perpendicular to the field: F ~ v × B (right hand rule, and all that). So if you want F to point inward, the one component of B that doesn't matter is its radial component---ie. the tangent component is all that counts. But it's not clear to me that you can't compensate for the restrictions of the hairy ball theorem by having a nonuniform velocity distribution. Of course, there's no "hairy torus" theorem (because it's not true!) and this immediately suggests the tokamak design.
It's also not possible to take a sphere and have the radial magnetic field point inward everywhere (or outward everywhere), because Maxwell's equations prohibit magnetic monopoles.
And of course, the last point about no magnetic monopoles should be sufficient to make a spherical field impossible.
Wiki: However, stellarators, unlike tokamaks, do not require a toroidal current, so that the expense and complexity of current drive and/or the loss of availability and periodic stresses of pulsed operation can be avoided, and there is no risk of toroidal current disruptions. It might be possible to use these additional degrees of design freedom to optimize a stellarator in ways that are not possible with tokamaks.
With the donut, the problem is similar to trying to inflate a balloon that has a weak point in it. Blowing causes the weak point to inflate instead of the balloon.
Plasmas are electrically charged and have their own magnetic field. Trying to squeeze down on the plasma inside the donut shape to cause fusion causes the plasma's own magnetic strength to increase and counter the field being applied to it.
The stellarator works with the plasma's magnetic field instead of against it by spiraling it around in circles.
But for complicated reasons, it just isn't efficient enough to actually produce net power output. Of course, neither is any other design right now, but magnetic confinement appears to be the more promising path forward.
Now I'm really puzzled why no one has tried a more naive approach. I'm picturing a hollow metal sphere with a high positive charge with positive ions inside of it. Wouldn't it push them all together and with a high enough charge get them hot enough to fuse?
If you squish hydrogen atoms together hard enough, and hot enough, they release energy.
But it needs to be really really hot - so hot that anything you made it out of would melt.
So what do you do?
You use a magnet. The magnet squishes the really hot hydrogen without actually touching it.
But if you squish one side, the hydrogen will want to go out of the other side. So you have to squish all sides exactly the same amount.
It turns out, it's impossible to make a magnet in the shape of a ball that squishes on all sides equally.
But, it is possible to make one in the shape of a doughnut! That's a tokamak. They are complicated because you also have to use the hydrogen inside the tokamak to help make the magnet work and keep the hydrogen inside.
Another shape that works is a kind of twisted doughnut, this is called a stellarator, if you do that, you don't need to also use the hydrogen inside as a magnet, and this makes it easier. But the twisted shape means it's harder to build because you have to put the magnets in exactly the right place.
The name "tokamak" comes from a sentence in Russian describing the machine, and the name "stellarator" comes from a word that means "sun".