When the goal is turning the state into a corporation, i.e. a for-profit-at-all-cost company where shareholders are the primary beneficiaries, we should invest into open source. In open standards. In open and free knowledge for all.
That said, in all matters of politics, there is never an easy and simple answer.