Variance of $\hat{\beta _0}$ in case of homoskedasticity
They are certainly not the same, since the first contains an expected value while the second does not contain an expected value but a sample mean.  

Of course, they are very closely connected, and one can see this if one writes down the definition of the variance of a random variable.