On the swimming motion of spheroidal magnetotactic bacteria