Here is a $T_2$-example:
$\tau$ denotes the usual topology on $\mathbb R$.
Let $\mathcal U$ be a free ultrafilter on $\mathbb N$.
We define a topology $\sigma$ on $\mathbb N_0$:
Each $n \in \mathbb N$ is isolated, and neighborhoods of $0$ are of the form $\{0\} \cup U, \space U \in \mathcal U$,
i.e., $(\mathbb N_0, \sigma)$ is a subspace of $\beta \mathbb N$ with $0 \in \beta \mathbb N \setminus \mathbb N$.
Now define
$\rho = \{U: U \in \tau, U \cap \mathbb N_0 \in \sigma\}$.
It is easy to see that $\rho$ is a topology on $\mathbb R$.
@Jakobian defined this kind of topology in their answer here, and proved that it is $T_2$ (non-trivial!).
Of course, $\rho$ is strictly coarser than $\tau$
[$(-1,1)$ is $\tau$-open, but not $\rho$-open].
Hence, $\tau$-compact subsets of $\mathbb R$ are $\rho$-compact. But also vice versa:
Let $A$ be a $\rho$-compact subset of $\mathbb R$.
Since $\rho$ is $T_2$, $A$ is closed w.r.t. to $\rho$ and $\tau$. Assume $A$ is unbounded w.r.t. the usual metric on $\mathbb R$.
Case 1:
$A \setminus \mathbb N_0$ is unbounded above.
By induction, choose $u_n \in \mathbb N, x_n \in A$
such that $n < u_n < x_n < u_n + 1 < u_{n+1}$ for each $n \in \mathbb N$.
Define $B = \{x_n: n \in \mathbb N\} \subseteq A$.
We have $(u_n, u_n+1) \in \rho$ and $B \cap (u_n, u_n+1) = \{x_n\}$, hence $B$ is discrete w.r.t. $\rho$.
Moreover, $B$ is closed w.r.t. $\tau$, $B \cap \mathbb N_0 = \emptyset$, hence $B$ is closed w.r.t. $\rho$, contradicting compactness of $A$.
Case 2:
$A \setminus \mathbb N_0$ is unbounded below.
Then define a strictly decreasing sequence $(x_n)_{n \in \mathbb N} \subseteq A \cap \mathbb R^{< 0}$, which is unbounded below, and argue similar to case 1.
Case 3:
$A \setminus \mathbb N_0$ is bounded.
Since $\mathbb N_0$ is $\rho$-closed,
$B = A \cap \mathbb N_0$ is infinite and compact w.r.t. $\rho$.
Since $\mathbb N_0$ is $\tau$-discrete, $\rho|\mathbb N_0 = \sigma$, hence $B$ is compact w.r.t. $\sigma$, contradicting that each infinite, compact subspace of $\beta \mathbb N$ is uncountable.
Remark
Using normality of $\tau$ and of $\sigma$, it can also be shown that $\rho$ is normal. This provides an alternative proof of $\rho$ being $T_2$, since it is rather easy to see that $\rho$ is $T_1$.
(See the remark in the above referenced answer by Jakobian.)