If the manufacturer falsely marketed the product, then yes
If the dealer did not do a background check on an automated weapon, then yes. Any negligence by either party should require compensation from their part, but that is up to a judge or jury to decide.