The rapper — and partner to singer Rihanna — whose real name is Rakim Mayers, was acquitted of two counts of assault with a semiautomatic firearm.