Government-backed funds are shifting massive capital into private AI markets, reshaping investment flows and raising valuations.