You can share your work with others while still not caring about the others when working. Others using AI to duplicate your work only matters if you care about people actually using your software, as opposed to getting some likes when you publish your project etc.