Hard to split hairs between who was the better of the two. Shaq hit a ceiling in Orlando because he didn’t have someone like Kobe. Kobe hit a ceiling in LA because he didn’t have someone like Shaq.
Shaq is the best big man to ever play the game, and while Kobe never topped MJ he’s as close as anyone’s ever going to get to him.