$\newcommand{\R}{\mathbb{R}}
\newcommand{\E}{\mathcal{E}}
\renewcommand{\O}{\mathrm{O}}
\newcommand{\SO}{\mathrm{SO}}
\newcommand{\so}{\mathfrak{so}}
\renewcommand{\d}{\mathrm{d}}
\renewcommand{\r}{\mathrm{r}}
\newcommand{\inv}{^{-1}}
\newcommand{\w}{\omega}$
You have posed a significant and intriguing question. Providing a complete answer reveals much about the underlying mathematics of rigid body motion.
Short answer
The inertia tensor is a $\binom{0}{2}$-tensor on the vector space of angular velocities. When applied to the angular velocity $\omega$ in both slots, it yields a scalar — twice the kinetic energy of a rotating body. Written in components, $I(\omega,\omega) = I_{ij} \omega^i \omega^j = 2K$.
The answer $T_p\R^3$ is not generally correct. Consider a rotating rigid body not in a 3-dimensional space, but on a 2-dimensional plane. Here, the angular velocity is a vector in a 1-dimensional vector space, and the inertia tensor (consisting of just one moment of inertia) is a tensor on this 1-dimensional space, and not on the 2-dimensional tangent space to the place. It is merely coincidental that in three dimensions, the dimension of angular velocities equals the dimension of the space itself. Thus, the vector space on which the inertia tensor is defined is not $T_p\R^3$.
Problem's setting. Ambient space
We will now rigorously define the problem's setting. To get to the notion of the abstract inertia tensor, not its component matrix, we need to work in a coordinate-free setting. A rigid body is embedded in an ambient space most accurately modeled as a Euclidean space of dimension $n$, denoted by $\E(n)$. It is instructive to keep the setting general and use $n$, but one can always plug in $n=3$. A Euclidean space is an affine space with a metric. For a detailed definition I refer to this Wikipedia page. In brief, an affine space is a vector space without an origin. Its elements are only points, not vectors. However, differences between points (translations) $p-q$ are vectors. In a Euclidean space, the vector space of translations $V$ is additionally equipped with an inner product $g$, which allows measuring distances between points as the norm of the difference vector. This associated vector space of translations $(V,g)$ is called a Euclidean vector space. This is why inner product spaces are often called Euclidean vector spaces.
The inertia tensor describes the inertial properties of a rigid body undergoing rotational motion, i.e., a rigid motion about a fixed point. Therefore, there exists a fixed point $o\in\E(n)$ about which the body rotates, or a reference point about which we want to calculate the inertia tensor should it rotate around this point.
A choice of a different reference point yields another inertia tensor. This is not merely a change of coordinates, but a different tensor itself. For example, consider a point-mass $p$ with mass $m$ on a plane ($n=2$). Its moment of inertia about a point $o$ is $I = m\cdot||p-o||^2$, which is non-zero if $o\neq p$ and zero if $o = p$. This is clearly not a linear transformation. Therefore, the inertia tensor is not just a property of a body, but also of the chosen reference point $o\in\E(n)$.
The existence of such a fixed point allows identifying the Euclidean space $\E(n)$ with the $n$-dimensional Euclidean vector space $(V,g)$ by subtracting the point $o$:
\begin{align*}
\E(n) &\to V\\
p &\mapsto p-o
\end{align*}
Under the identification, body is now embedded into an inner product space $(V,g)$.
Space of rotations
A rotation of the rigid body about the origin of $V$ is a transformation of $V$ that preserves the distances and the origin. It is, therefore, a linear isometry of the inner product space $(V,g)$, i.e., a linear map $r\colon V \to V$ that preserves the inner product:
$$g\bigl(r(v),r(w)\bigr) = g(v,w) \quad \forall\, v,w\in V.$$
The set of all linear isometries $r$ of $(V,g)$ together with a composition of transformations forms a group — the so-called orthogonal group of the inner product space $(V,g)$, denoted by
$$\O(V, g) := \{ \text{linear } r\colon V \to V \mid g\bigl(r(v),r(w)\bigr) = g(v,w) \quad \forall\, v,w\in V\}.$$
This group is a subgroup of the group of linear isomorphisms $\mathrm{GL}(V)$ of $V$.
Note that we have used no notion of coordinates so far. Now, let us choose an orthonormal basis $(e_i)_{i=1}^n$ of $(V,g)$ (the inner product allows to do so). In the initial Euclidean space $\E(n)$, this basis would form an orthonormal frame centred at $o$.
Answer to your 1st question: a coordinate frame (system) in $\E(n)$ is a tuple $\Psi = (o, e_1, \dots, e_n)$ consisting of a point $o\in\E(n)$ (the origin) and a basis $(e_1, \dots, e_n)$ of the associated Euclidean vector space $V$. It allows identifying $\E(n)$ with $\R^n$ by first subtracting $o$ and obtaining vectors $p-o$ in $V$ and then taking their coordinates with respect to the basis.
The components of an element $r\in\O(V,g)$ of the orthogonal group in an orthonormal basis form an orthogonal matrix $R$, hence the name of the group. The set of all orthogonal matrices, together with the matrix multiplication, forms a group:
$$\O(n) := \{R \in \R^{n\times n} \mid R^\top = R\inv\}$$
— the orthogonal group in dimension $n$. This group consists of coordinate representations of linear isometries $r$ in an orthonormal basis, or alternatively, of linear isometries of $\R^n$ with the standard inner product.
Linear isometries and corresponding orthogonal matrices have determinants of $\pm1$. This includes both rotations ($+1$) and reflections ($-1$). When studying the motion of a rigid body, we are only interested in rotations. Therefore, we restrict our groups to determinants of $+1$ only, i.e., to rotations. The resulting group is called the special orthogonal group and is denoted b
\begin{align*}
\SO(V, g) &:= \{r \in \O(V, g) \mid \det r = +1\}\\
\SO(n) &:= \{R \in \O(n) \mid \det R = +1\}
\end{align*}
in the coordinate-free and coordinate-based cases, respectively. Elements $r\in\SO(V, g)$ are called rotations, and elements $R\in\SO(n)$ are called rotation matrices. $\SO(V, g)$ and $\SO(n)$ are isomorphic under a choice of an orthonormal basis of $V$.
One can equip these groups with the structure of a smooth manifold, making them Lie groups. A Lie group is a group that forms a smooth manifold, where the group operations of multiplication and inversion are smooth. For example, in 2D, $\SO(2)$ is a one-dimensional manifold homeomorphic to a circle. In 3D, it is 3-dimensional (which is coincidental). In general, the dimension of $\SO(n)$ is $\frac{n(n-1)}{2}$ (the number of rotational degrees of freedom).
Angular velocity
Now consider an initial configuration of the rigid body and identify it with the identity of the group $\SO(V, g)$. The Lie group represents the configuration space of the body rotating around a point. A continuous and smooth rotation of the body corresponds to a smooth curve $r(t)$ on the group parametrised by time — a trajectory on the configuration space. The velocity of the curve at some point $r\in\SO(V, g)$ is a tangent vector to the Lie group denoted by $\dot{r}\in T_r\SO(V, g)$.
In coordinates (orthonormal basis of $V$), $\SO(n)$ is used, and the configuration evolution is represented by rotation matrices $R(t)$ parametrised by time. The velocity of the trajectory, in this case, can be written as the time derivative of the rotation matrix $\dot{R}$ (this is a property of matrix Lie groups). However, this is not yet an angular velocity.
From classical mechanics, one may be familiar with the definition of the angular velocity given by a skew-symmetric matrix
$$\Omega:= \dot{R}R\inv.$$
The reason it is defined this way comes from the structure of a Lie group, particularly its Lie algebra. The tangent space $T_e G$ at the identity $e$ of a Lie group $G$ has a special name — the Lie algebra of the Lie group. In the case of special orthogonal group, it is denoted with $\so(V,g)$ and $\so(n)$. The coordinate-based Lie algebra $\so(n)$ of the special orthogonal group $\SO(n)$ can be shown to be the set of all skew-symmetric $n\times n$ matrices, i.e.
$$\so(n) = \{\Omega \in \R^{n\times n} \mid \Omega^\top = - \Omega \}.$$
A powerful property of Lie groups allows translating any tangent vector to a Lie group into the tangent space at the identity, i.e., into the Lie algebra. To do this, consider the right multiplication by $h\in G$:
\begin{align*}
\mathrm{r}_h\colon G &\to G\\
g &\mapsto g\cdot h,
\end{align*}
which is a diffeomorphism. Its differential or push-forward at $g\in G$ is a linear map between the tangent spaces
$$\d_g \r_h \equiv (\r_h)_{*,g} \colon T_g G \to T_{g\cdot h} G.$$
Now, given a trajectory $r(t)$ and its velocity $\dot{r}$ at some point $r$, the push-forward of the map $\r_{r\inv}$ translates the velocity to the tangent space at the identity, i.e., to the Lie algebra $\so(V,g)$:
\begin{align*}
(\r_{r\inv})_{*,r} \colon T_r \SO(V,g) &\to T_e \SO(V,g) = \so(V,g) \\
\dot{r} &\mapsto (\r_{r\inv})_{*,r} \dot{r} =: \omega.
\end{align*}
The resulting element of $\so(V,g)$ is called the angular velocity of the body, and thus, $\so(V,g)$ is the space of angular velocities in question.
In coordinates, the same operation appears as matrix multiplication by $R\inv$ from the right:
\begin{align*}
(\r_{R\inv})_{*,R} \colon T_R \SO(n) &\to T_e \SO(n) = \so(n)\\
\dot{R} &\mapsto (\r_{R\inv})_{*,R} \dot{R} = \dot{R}R\inv =: \Omega.
\end{align*}
The dimension of the Lie algebra as a vector space is the dimension of the Lie group as a manifold. $\so(n)$ can be canonically isomorphically identified with $\R^{\frac{n(n-1)}{2}}$. In dimensions 2 and 3 this is given by
$$
\begin{aligned}
\so(2) &\to \R\\
\begin{pmatrix}
0 & -\w\\
\w & 0
\end{pmatrix} &\mapsto \w
\end{aligned}
\qquad\text{and}\qquad
\begin{aligned}
\so(3) &\to \R^3\\
\begin{pmatrix}
0 & -\w_z & \w_y\\
\w_z & 0 & -\w_x\\
-\w_y & \w_x & 0
\end{pmatrix} &\mapsto
\begin{pmatrix}
\w_x\\
\w_y\\
\w_z
\end{pmatrix}
\end{aligned}
$$
respectively. These are equivalent representations of the angular velocity in coordinates in matrix and column form.
The choice of an orthonormal frame in $\E(n)$ centred at $o$, which is equivalent to the choice of an orthonormal basis of $V$, induces a choice of a basis in the Lie algebra $\so(V,g)$, identifying it isomorphically with $\so(n)$ and $\R^{\frac{n(n-1)}{2}}$.
Inertia tensor
Finally, the inertia tensor $I$ relative to a point $o\in\E(n)$ is a symmetric $\binom{0}{2}$-tensor on the vector space $\so(V,g)$ — the Lie algebra of the special orthogonal group $\SO(V,g)$:
$$I\colon \so(V,g) \times \so(V,g) \to \R.$$
If one chooses an orthonormal frame in $\E(n)$ centred at $o$, the components of the inertia tensor (with respect to the induced basis of $\so(V,g)$) form a symmetric $\frac{n(n-1)}{2}\times\frac{n(n-1)}{2}$ matrix. Alternatively, this matrix is a symmetric $\binom{0}{2}$-tensor on $\so(n)$ or $\R^{\frac{n(n-1)}{2}}$:
$$[I_{ij}]\colon \R^{\frac{n(n-1)}{2}} \times \R^{\frac{n(n-1)}{2}} \to \R.$$
This provides answers to your 2nd and 3rd questions.
Bonus: The angular momentum is obtained using the flat map of the inertia tensor:
\begin{align*}
I^\flat \colon \so(V,g) &\to \so^*(V,g)\\
\w &\mapsto I^\flat(\w) := I(\w, \cdot),
\end{align*}
and it is an element of the dual space of the Lie algebra
$$L := I^\flat (\w) \in \so^*(V,g).$$
Angular momentum can be naturally paired with angular velocity yielding a scalar:
$$\langle L, \w \rangle = I(\w, \w) = 2K,$$
which illustrates that the angular momentum is a covector (an element of the dual space).
In dimensions 2 and 3, one determines the inertia tensor about a point $o$ of a particular rigid body with a specified mass distribution using the formulas. Let $B$ be a measurable subset of $\E$ of material points of the body, and $\rho\colon B \to \R$ be its mass density. For points $p\in B$, let us denote the difference vector by $p-o$, and its components in a chosen orthonormal basis $(e_i)_{i=1}^n$ of $V$ by $x^i := (p-o)^i$ forming a vector $\mathbf{x}\in\R^n$. Then in dimension 2, the only component of the inertia in the induced basis of $\so(V,g)$ tensor is:
$$I_{11} = \int_B ||\mathbf{x}||^2 \cdot \rho \mathrm{d}V,$$
and in dimension 3, the components of the inertia tensor are given by the matrix:
$$[I_{ij}] = \int_B (||\mathbf{x}||^2 \cdot \mathbb{I}_{3\times3} -
\begin{pmatrix}
x^1x^1 & x^1x^2 & x^1x^3\\
x^2x^1 & x^2x^2 & x^2x^3\\
x^3x^1 & x^3x^2 & x^3x^3
\end{pmatrix}) \cdot \rho \mathrm{d}V. $$
A change of the basis of $V$ induces a corresponding change of the basis of $\so(V,g)$ and yields a transformation of the components of $I$ (which will transform as components of a $\binom{0}{2}$-tensor). $I$ itself is an abstract, basis-independent tensor.
Possible further directions
- Euler equations of a rigid body $\dot{L} = 0$, principal inertia frame.
- The concept of the action of the Lie group on the configuration space. In general, Lie groups are used do define symmetries in physics, whose significance is hard to overstate.
- What is the induced basis of $\so(V,g)$ given a basis of $V$? Transformation of the inertia tensor under a rotation of the coordinate frame and adjoint representation $\mathrm{Ad}$ of a Lie group on its Lie algebra.
- From the Lie algebra $\so(V,g)$, the inertia tensor can be extended to a left- or right-invariant tensor field on the entire Lie group $\SO(V,g)$, establishing a metric on the configuration space. (It contains the same information as just $I$.) This determines the dynamics of a rotating rigid body: the time evolution of the configuration is a geodesic on $\SO(V,g)$ with respect to this metric.
- Why the right translation to the Lie algebra in this case in more natural than the left translation? This can be understood by eliminating the reference configuration and considering an abstract configuration space on which $\SO(V,g)$ acts from the left freely and transitively.
- To eliminate dependence on the reference point, consider the group of all rigid transformations of $\E(n)$ (rotations and translations) — the so-called, special Euclidean group $\mathrm{SE}(\E)$. A choice of an orthonormal coordinate frame in $\E(n)$ (including a choice of the origin) induces its coordinate representation — $\mathrm{SE}(n)$ consisting of homogeneous matrices. This is the configurations space of a rigid body under undergoing general motion in space. Then the Lie algebra $\mathfrak{se}(\E)$ is the vector space of generalised velocities (angular and translational) (also called twists). For $n=3$, its dimension is 6. Mass distribution and the total mass of the body determine the full inertia tensor, which is now a symmetric $\binom{0}{2}$-tensor on $\mathfrak{se}(\E)$. Applied to a generalised velocity, it produces a generalised momentum (angular and translational). In components in dimension 3, it is a $6\times6$ matrix.