To clear up some confusion, recall that a $k$-manifold $M$ is a second-countable, Hausdorff space which is locally homeomorphic to $\mathbb{R}^k$. The last requirement is the most important, at least it's the one that can be understood better since it says something about the intrinsic geometry. To make things a bit easier, lets look at all of your examples in the case where $k = 0,1,2,3$.

If you take any point of the sphere and draw an open set around it, it looks bent disk which can be unbent smoothly to get a regular disk that you can place in the plane.

The cube has some nice open sets which look like 3-disks, but if you look at any 3-disk about a vertex (i.e pointed boundary) then you can continuously transform it to a 3-disk.
If you take any point on a line and make a neighborhood about it, it looks like an open interval in the plane.

The topology for a space with one point, it the trivial topology, i.e the point itself is an open set. The definition for manifold requires that for every point, there exists! and open set about it with a certain property. Thus taking the open set to be the point, that just looks like a number on the real line.
In these examples, whatever the neighborhoods on these objects are homeoomorphic to, that determines their dimension. So the sphere is a smooth 2-manifold, the cube is a smooth 3-manifold, the line is a smooth 1-manifold, and the point is a smooth 0-manifold.