Safety aside, the two rifles you have chosen (AI, and TRG) are coveted rifles by the military for long range targets. Either would be a viable rifle in the 338 especially should you improve it. If you have the money for either, I would say go for it. Just double check the twist rate on the rifling. I believe the TRG is a 1:12 which means you can only shoot the 250grn bullets and lighter. If you want to shoot the 300grn bullets, then a 1:10 is the minimum.
On the other side, with the money either rifle costs, you could always have a custom rifle
built especially for the price of the AI. This would afford you to build it with any action, barrel, stock combination you could think of. So take your time in your decision.
As far as hitting somebody accidentally, should there be an orange wear law and it is violated by the person you should hit accidentally (heaven forbid) it would not be your fault. You could not be prosecuted for following the law and being as careful as you can. Unfortunate things happen and you just have to exercise caution in all shooting situations both close and far. You can't see the victim because they are breaking the law, there is really not a whole lot you could have done to change that.
"Enter through the narrow gate. For wide is the gate and broad is the road that leads to destruction, and many enter through it.  But small is the gate and narrow the road that leads to life, and only a few find it.
If you find your self in a fair fight, your tactics suck!- Marine 1st Sergeant Jim Ryfinger
Friends don't let friends develop canonitis!
arguing over the internet is like the special Olympics....even if you win, you are still...special!