Closed source will do squat unless you protect your binaries with some sort of secure enclave encryption scheme. AI can reverse engineer your binaries and deliver a copyright-laundered version in hours or days.

You give the user access to the software over a web interface. He has never access to the binaries because they are on your servers.