Oklahoma City handed the Lakers a hard-fought defeat that might leave the defending NBA Cup champions out of the in-season tournament's next stage.