Consider a statistical model $\left(\mathcal X, \mathcal A, \left(\mathbb P_\vartheta\right)_{\vartheta \in \Theta}\right)$ consisting of
- a set $\mathcal X$ (the sample space),
- a $\sigma$-algebra $\mathcal A$ on $\mathcal X$,
- a family of probability measures $\left(\mathbb P_\vartheta\right)_{\vartheta \in \Theta}$ on $\mathcal A$ with
- index set $\Theta$ (the parameter space) of cardinality bigger than one,
in which $\mathbb P_\vartheta$ is dominated by a $\sigma$-finite measure $\mu$ for all $\vartheta \in \Theta$. Denote the density (Radon–Nikodym derivative) of $\mathbb P_\vartheta$ w.r.t. $\mu$ by $\frac{\mathrm d \mathbb P_\vartheta}{\mathrm d \mu}$; and let $\mathcal S$ denote a $\sigma$-algebra on $\Theta$.
One way to formalize maximum likelihood estimation is to define the likelihood function $\mathcal L$ as the bivariate function $\mathcal L: \Theta \times \mathcal X \to [0, \infty), \mathcal L(\vartheta, x) \mathrel{:=} \frac{\mathrm d \mathbb P_\vartheta}{\mathrm d \mu}(x)$ and call an estimator $\hat \vartheta: (\mathcal X, \mathcal A) \to (\Theta, \mathcal S)$ of $\vartheta \in \Theta$ a maximum likelihood estimator if
$\mathcal L(\hat \vartheta(x), x) = \max_{\vartheta \in \Theta} \mathcal L(\vartheta, x)$ holds for all $x \in \cal X$.
An alternative way (which I have come across more frequently) is to define the likelihood function for the outcome $x \in \mathcal X$ as $\mathcal L_x : \Theta \to [0, \infty), \mathcal L_x(\vartheta) \mathrel{:=} \mathcal L(\vartheta, x)$, where $x \in \mathcal X$ is fixed, and call an estimator $\hat \vartheta: (\mathcal X, \mathcal A) \to (\Theta, \mathcal S)$ a maximum likelihood estimator of $\vartheta \in \Theta$ if the estimate $\hat \vartheta(x)$ is a maximizer of $\mathcal L_x$ on $\Theta$ for each $x \in \cal X$.
Evidently, both approaches lead to the same definition of a maximum likelihood estimator.
I agree with you that denoting both a (maximum likelihood) estimator $\hat \vartheta$ of $\vartheta$ and the corresponding estimate $\hat \vartheta(x)$ by $\hat \vartheta$ is formally incorrect as they are different objects. However, overloading the symbol $\hat \vartheta$ in this way is at least partially justified since it is usually very clear from the context which object the so overloaded symbol $\hat \vartheta$ refers to.
Reference
Georgii, H.-O. (2013). Stochastics: Introduction to probability and statistics (E. Baake & M. Ortgiese, Trans.). Walter de Gruyter.