Taxpayers and tech companies will help fund journalism and AI research in landmark California deal