The Compton rapper's performance, which featured Samuel L. Jackson, SZA, Mustard and Serena Williams, vacillated between deference to and defiance of expectations.