It’s voluntarily funded by the state. Each DA is funded by the county they are based in. Ronnie Earle just managed to get the state to chip in to his PIU.
Well, then, as someone else suggested, put the ones that investigate state officials under the AG, so the STATE can vote on who runs things, rather than the people of Austin alone.