From John R. in the comments here
From a strictly practical point of view, if someone's goal was to inflict fatal injuries, a shotgun is a much more ferocious weapon. Machine guns have better PR.