When $k = 0$, the integrand is the power function $x^{-a}$, so we may as well take $k > 0$, in which case the substituting $x = \sqrt[a]{k} \,u$ transforms the integral to a constant multiple of $$\int \frac{u^a \,du}{u^{2 a} + 1} .$$
Now, if $a$ is a positive integer, this solution by Quanto gives the value
\begin{multline*}-\frac1{4n} \sum_{k=1}^{2n} \Bigg[\cos\frac{(2k-1)(n + 1)\pi}{2n} \log\left(u^2-2u\cos \frac{(2k-1)\pi}{2n}+1\right)\\+2\sin\frac{(2k-1) (n + 1)\pi}{2n} \arctan\frac{\sin \frac{(2k-1)\pi}{2n}}{u-\cos \frac{(2k-1)\pi}{2n}} \Bigg].\end{multline*}
If $a$ is a rational number, say, $a = \frac{p}{q}$, then substituting $u = v^q$ transforms the integral to a rational one in $v$, which can then be handled using the usual methods, though even for particular $q > 1$ a formula for general $p$ in terms of elementary functions will be messy.
For general $a$, the integral in $u$ has value
$$\frac{u^{a + 1}}{a + 1} {}_2F_1 \left(1, \frac{a + 1}{2a}; \frac{3 a + 1}{2a}; -u^{2 a} \right) + C ,$$ where ${}_2F_1$ is the ordinary hypergeometric function. It can also be written in terms of the Lerch transcendent $\Phi$ as
$$\frac{u^{a + 1}}{2 a} \Phi\left(-u^{2a}, 1, \frac{a + 1}{2 a}\right) + C.$$
Remark (For $a > 1$) a standard contour integration gives the particular value $$\int_0^\infty \frac{u^a \,du}{u^{2 a} + 1} = \frac{\pi}{2 a} \sec \frac{\pi}{2 a} .$$
Remark The integral in $u$ arises in the evaluation of the integral $$\int \sqrt[a]{\tan t} \,dt .$$