I think the mere presence of them stops some things.
And it costs nowhere near a billion dollars, look it up.
$820 million. Passengers would not allow it, and if they let the pilots arm themselves, then it’d even be a greater waste of money