If AR-15 or other "assault riffles" weren't available, these shooters would select other, equally powerful guns.
Now, I imagine these types of guns are more appealing to these types of people because they "look badass", and they envision themselves as "badass rebels" rather than mentally disturbed psychopaths.