Both captains have to agree to end the game early and call it a draw when it's clear that neither side can win.
The bowling side would want to get off the field ASAP and not tire their bowlers further. Meaning, the final says rests with the batting captain.
I didn't watch most of the game but I'm guessing the batting captain could have agreed to the draw once Markram got to 200.