Looking through your comments, I think that you are very interested in this question: why can we accumulate enough evidence to reject the null, but not the alternative, i.e. what makes hypothesis testing a ones-sided street?
The very important thing to think about is what values constitutes the null hypothesis? In your example, it is only a single value, $i.e.$, $p = 0$. The alternative, conversely, is $p > 0$.
We accept either hypothesis if all "reasonable values" (i.e. values inside our confidence interval) fall completely into the range given by that hypothesis. So if all our reasonable values are greater than 0, we would accept the alternative. On the other hand, the null hypothesis is only a single point, 0! So to accept the null, we would have to be have confidence interval of length 0. Since (generally speaking) the length confidence interval approaches 0 as $n \rightarrow \infty$, but doesn't achieve length 0 for finite $n$, we would need to collect an infinite amount of data to conclude that we have no margin of error in our estimate.
But note that if we define the null hypothesis to be more than just a single point, i.e. a one sided hypothesis test such as
$H_o: p \leq 0.5$
$H_a: p > 0.5$
we actually can accept the null hypothesis. Suppose our confidence interval were to be (0.35, 0.45). All these values less than or equal to 0.5, which is in the region of the null hypothesis. So in that case, we could accept the null.
Small, technical, abuse of statistics note: if one is really willing to abuse asymptotic theory, one actually could (but shouldn't...) accept the null in your example: the asymptotic standard error is $\sqrt{(\hat p (1 - \hat p) /n)} = 0$. So your asymptotic confidence interval will be (0,0), all of which belongs to the null hypothesis. But this just abusing asymptotic results; note that you get the same conclusion even if $n$ = 1.