Taking something from someone else is wrong. Doing it for the good of others doesn't correct this theft. The degree that this happens in a society represents the level to which civilisation is broken and corrupted.
Open source examples aren't communism, there's no threat of force. It relies on decentralized collaboration and natural willingness to create and share. There's a solid legal framework in place that promotes use, improvement and extension with low cost to all parties.