As Arturo Magidin notes in the comment to your question, the closest analog (that gives non-trivial answers) to such sums are usually integrals.
This is because an integral, intuitively, measures how much mass certain subsets of the real numbers have. In the text that follows I shall examine one such interpretation that comes to mind and try to motivate is as clearly as I can.
So, we interpret "sum of all numbers on $[0,1]$" to instead mean something like the mass of all points in $[0,1]$, assuming "each point has a mass proportionate to its value". Actually the masses of the points are, in a non-rigorous sense, infinitesimal, so we instead ask that this holds for the density, i.e. we assume that the density at the point $x$ is equal to $x$. This gives us the integral $\int_0^1x\,\mathrm{d}x$.
To calculate the "amount of" points in $[0,1]$, we repeat basically the same thought process. But as above, we were interested in the "density of value" which varied as the value varied, in this case we are interested in the "density of amount". So in the case above, the "mass" we were interested in was the value. In this case the "mass" we are interested is amount. Now in contrast with value, amount is spread evenly along the interval $[0,1]$. So the density function is constant in this case. We take it to be equal to $1$ everywhere, to assign the interval $[0,1]$ a mass of $1$, which seems to make sense. This gives us the integral $\int_0^1\,\mathrm{d}x$.
So, with this interpretation, the answer to your question would be $$\frac{\int_0^1x\,\mathrm{d}x}{(\int_0^1\mathrm{d}x)^2}=\frac{\frac12}{1^2}=\frac12,$$ which, interestingly, gives the same answer you obtained for your first question.