Let fk(x)=(1−kx)kχ[0,k](x). By AM-GM,
(1⋅(1−kx)k)1/(k+1)≤k+11(1+k⋅(1−kx))=1−k+1x,
so for x∈[0,k],
fk(x)−fk+1(x)=(1−kx)k−(1−k+1x)k+1≤1−k+1x−(1−k+1x)k+1.
Since 1−k+1x∈[0,1], we see fk(x)≤fk+1(x) on [0,k]. On (k,k+1], fk(x)=0 but fk+1(x)≥0, and so fk≤fk everywhere. fk(x)→e−x, so by the monotone convergence theorem,
k→∞lim∫0kxn(1−kx)kdx=∫0∞k→∞limxnfk(x)dx=∫0∞xne−xdx=Γ(n+1)=n!.