ADDED: Maybe it's helpful to comment further on the original question as well as the other answers.
1) If there is a definite reason to consider the notion of "Lie algebra of a non-affine algebraic group" over an algebraically closed field of characteristic 0, it's essential to define the notion explicitly or at least give a reference. In his 1950s work, Chevalley imitated successfully the correspondence between Lie groups and Lie algebras when the Lie group is replaced by a linear algebraic group in characteristic 0. This is essentially the material covered in the three textbooks I mentioned above, which provide clear answers to the questions raised in the affine/linear case. As noted, the Lie algebra by itself is too weak a tool in prime characteristic.
2) The paper by Brian Conrad updates the older language used for Chevalley's theorem on general algebraic groups. But note that Conrad always requires the groups to be connected, including the affine closed normal subgroup in the theorem. And there seems to be no point in working with Lie algebras in this general setting.

