The artists performed a surprise mashup of "Ex Factor" and "Nice For What" during the R&B-themed show.