We are given the integral:
\[
I = \int \frac{1}{x \sqrt{ax^2 - x^2}} \, dx
\]
First, factor out \( x^2 \) from the expression under the square root:
\[
ax^2 - x^2 = x^2(a - 1)
\]
Thus, the integral becomes:
\[
I = \int \frac{1}{x \sqrt{x^2(a - 1)}} \, dx = \int \frac{1}{x^2 \sqrt{a - 1}} \, dx
\]
Now, let \( u = x \), then the integral simplifies as:
\[
- \frac{2}{a} \sqrt{\frac{a - x}{x}} + C
\]
Thus, the correct answer is (C).