The Islamic State militant group, which controls territory in Syria and Iraq, has also claimed attacks on Saudi security forces as well as deadly bombings and shootings that target the kingdom’s Shi’ites.