Using the model form $\boldsymbol{Y} = \boldsymbol{X} \boldsymbol{\beta} + \boldsymbol{\varepsilon}$, the ordinary least square (OLS) estimator can be written as:
$$\begin{equation} \begin{aligned}
\hat{\boldsymbol{\beta}}
&= (\boldsymbol{X}^\text{T} \boldsymbol{X})^{-1} \boldsymbol{X}^\text{T} \boldsymbol{Y} \\[6pt]
&= (\boldsymbol{X}^\text{T} \boldsymbol{X})^{-1} \boldsymbol{X}^\text{T} (\boldsymbol{X} \boldsymbol{\beta} + \boldsymbol{\varepsilon}) \\[6pt]
&= \boldsymbol{\beta} + (\boldsymbol{X}^\text{T} \boldsymbol{X})^{-1} \boldsymbol{X}^\text{T} \boldsymbol{\varepsilon}. \\[6pt]
&= \boldsymbol{\beta} + \sum_{i=1}^n \Big[ (\boldsymbol{X}^\text{T} \boldsymbol{X})^{-1} \boldsymbol{X}^\text{T} \Big] \boldsymbol{\varepsilon}. \\[6pt]
\end{aligned} \end{equation}$$
If we define the matrix $\boldsymbol{M} \equiv (\boldsymbol{X}^\text{T} \boldsymbol{X})^{-1} \boldsymbol{X}^\text{T}$ (called the pseudo-inverse of $\boldsymbol{X}$) then we can write the OLS estimator as:
$$\hat{\boldsymbol{\beta}} = \boldsymbol{\beta} + \begin{bmatrix}
m_{1,1} & m_{1,2} & \cdots & m_{1,n} \\
m_{2,1} & m_{2,2} & \cdots & m_{2,n} \\
\vdots & \vdots & \ddots & \vdots \\
m_{p,1} & m_{p,2} & \cdots & m_{p,n} \\
\end{bmatrix} \begin{bmatrix}
\varepsilon_1 \\ \varepsilon_2 \\ \vdots \\ \varepsilon_n
\end{bmatrix} = \begin{bmatrix}
\beta_1 + \sum m_{1,i} \varepsilon_i \\ \beta_2 + \sum m_{2,i} \varepsilon_i \\ \vdots \\ \beta_p + \sum m_{p,i} \varepsilon_i \end{bmatrix}.$$
In this form you can see that each elements of the OLS estimator includes a linear combination of the error terms in the model, so an outlier for a single value will affect all of the estimated coefficients (unless the relevant weighting in the above expression is zero).
Illustrating a model with a single outlier: To illustrate the situation described in your question, suppose we have standard error terms $\epsilon_1,...,\epsilon_n \sim \text{IID N}(0, \sigma^2)$ and an additional large deviation $\xi \sim \text{N}(0, \kappa^2)$ for the last observation. We define the error terms for the model as:
$$\varepsilon_i = \begin{cases}
\epsilon_i & & \text{for } i = 1,...,n-1, \\
\epsilon_i + \xi & & \text{for } i = n.
\end{cases}$$
In this case we can write the OLS estimator as:
$$\hat{\boldsymbol{\beta}} = \begin{bmatrix}
\beta_1 + \sum m_{1,i} \epsilon_i + m_{1,n} \cdot \xi \\ \beta_2 + \sum m_{2,i} \epsilon_i + m_{2,n} \cdot \xi \\ \vdots \\ \beta_p + \sum m_{p,i} \epsilon_i + m_{p,n} \cdot \xi \end{bmatrix}.$$