You found a solution to the ODE that arises from Newton's Second Law ($\ddot{x} = x^2$). It's just not the solution that's consistent with the initial conditions you asked for.
In general, there are a wide variety of possible motions that are consistent with a given equation of motion. For a very simple example, the equation $\ddot{x} = - g = - 9.8 \text{ m/s}^2$ has a bunch of possible solutions (ignoring units):
$$
x(t) = 1 - 4.9 t^2 \\
x(t) = -4 + 5 t - 4.9 t^2 \\
x(t) = 10^6 - \pi t - 4.9 t^2
$$
The particle "chooses" which of these motions it will follow according to the initial conditions it has. In the case where $\ddot{x} = - g$, you have to specify $x_0 = x(0)$ and $v_0 = \dot{x}(0)$ in order to specify the motion — as you recall from the first-year kinematic equation $x(t) = x_0 + v_0 t - \frac{1}{2} g t^2$. And what's more, you don't have to specify these values at $t = 0$—any "initial time" will do the trick just as well.
So in your case, one of the possible solutions to the ODE $\ddot{x} = x^2$ is $x(t) = 6/t^2$. But this solution is not consistent with the initial conditions you are assuming ($x_0 = v_0 = 0$); so the particle will not follow this motion. Instead, it will execute the solution $x(t) = 0$ (for all $t$), which—as you can verify—both satisfies $\ddot{x} = x^2$ at all times and has $x(0) = \dot{x}(0) = 0$.
If, in contrast, you had demanded the initial conditions $x(1) = 6$ and $\dot{x}(1) = -12$, then the solution $x(t) = 6/t^2$ would in fact be the correct solution to the equations of motion, consistent with the initial conditions.