Why would you assume that is the unions goal? That the employees of Wikipedia will suddenly have as their purpose to raid donations from the foundation, instead of promoting the values they probably started there for?
Unions gives the employees a voice representing them, and it gives the organisation someone to talk to and negotiate with. This can be highly advantageous to the organisation as well, since when you have someone to negotiate with, and make deals with, it opens up more possibilities. In places with strong functioning unions (e.g. Scandinavia) they can often function as a moderating force, keeping salaries low when times are bad, and an pragmatic partner when things like working times needs to change.