You read the books from traders who share their knowledge and experience, you can get courses where traders share their trading strategies.
Why they do this?
Because it is normal to share something with other people. We use the robot for ourselves and it is ok for us to share it with others. Yes, it can make profit in long run, but the profit from selling this robot can be used for developing other projects and robots tomorrow.