Combining LSpice and my comments into an answer: If $G(k)$ is Zariski dense in $G$, then $A^{G(k)} = A^G$. It is very common that $G(k)$ is Zariski dense in $G$: This happens whenever (1) $k$ is infinite (2) $G$ is connected and either (3a) $G$ is reductive or else (3b) $k$ is perfect. See [here][1]. [1]: https://mathoverflow.net/questions/56192/density-question-in-algebraic-group