Borrowed from Classical Persian تا که (tā ki). By surface analysis, ता (tā) + कि (ki).
ताकि • (tāki) (Urdu spelling تاکہ)