AKs are reliable, and accurate enough out to 200 yards. Beyond that the AR as a clear advantage. IMO, also, the AR has an advantage is CQB...but I will defer to the guys in the service for that call.
For what it’s worth, and mind you I don’t crawl through mud with my rifles, but I had an SAR-1 and SAR-2, (Century arms knockoffs of semi-auto AK47 and AK74). Reliable yes. Great magazines, yes. Not accurate. And they did jam. More than just a couple times, and weird, but more so than I have had with my newest gun, an M-4 style AR-15 which has never jammed, and I shoot that cheap Bear ammo through it.
I really like that new Bushmaster ACR, which is the Masada that Magpul designed. (I don’t have one though) Beautiful, ergonomic, and suppose to fix all the problems with the M-4.