Sparring is pretty different from an actual fight. Though people go hard in practice it rarely simulates an actual fight where you feel like you are in danger if you dont defend yourself. Im sure kicks in practice dont have the same intention they have in a fight.
That said iv never fought in the octagon so i cant be certain. But i know in the gym i rarely get mad and have never wanted to cause any real damage to anyone.