This link about the closed-form analytical solution for the Wasserstein distance says:
Let $\mu_1\in \mathbb{R}^N$ be a normally distributed random variable with expected value $m_1$ and covariance matrix $C_1$.
I never knew there could be a covariance matrix for univariate data, only multivariate data. How is it possible for a single random variable to have a covariance matrix?

The random variable $\mu_1$ is in $\mathbb{R}^N$, so it's an $N$ dimensional vector. The covariance matrix for it would be the covariance matrix between each of the components of $\mu_1$.