V 12.1
How can one help Mathematica obtain zero for the following expression, by telling it that $k$ is really just a constant?
$$ k \int_{-\infty }^{\infty } f(x) \, dx-\int_{-\infty }^{\infty } k f(x) \, dx $$
When we do the above by hand, clearly it is zero, because we pull constant out of the integral.
Clear["Global`*"];
FullSimplify[
k Integrate[f[x], {x, -Infinity, Infinity}]-Integrate[k f[x], {x, -Infinity, Infinity}],
Assumptions -> {k > 0, Element[k, Reals]}]

(note, Element[k, Reals] is not really needed, since k>0 implies k is real.
Reduce does not do it either.
Fyi, Maple 2020:
restart;
simplify( k*int(f(x),x=-infinity..infinity) - int( k *f(x),x=-infinity..infinity) )
0
0for the indefinite integralsk Integrate[f[x], x] - Integrate[k f[x], x]– Bob Hanlon Jun 07 '20 at 16:44