Actually, if you're trying to be grammatically correct, "AR15/M4-style semi-automatic rifle" is hyphenated.
Fortunately leaving the hyphen out doesn't mean the words are being used incorrectly.
It isn't a grammar issue, it's a not-using-the-wrong-world-even-though-we-know-it's-wrong issue