Governments are overcoming their wariness of private funds as they struggle to finance public improvements.