Scientists have used magnetism to activate tiny groups of cells in the brain, inducing bodily movements that include running, rotating and losing control of the extremities — an achievement that could lead to advances in studying and treating neurological disease.