Public funding from governments would make sense. Open source software are effectively public good.
Europe is doing this: https://eu-stf.openforumeurope.org/
Europe is doing this: https://eu-stf.openforumeurope.org/