If your camera can't connect to the internet, the images on it can't be stolen. Same for editing software.
Surely there are ways to block software from sending copies of your photographs to their servers.
Not using cloud services is probably the easiest way to keep them from stealing your images.
Most cloud services say in the terms and services that you agree for them to have ownership of your files you upload. So just don't use cloud services.
Even though solid state hard drives have doubled in prices, you can still find the hard drive disk drives that are decent prices.
I just got a Seagate 4tb for $200. Store all your stuff on your drive. And don't use windows. Because they steal everything you have up on your monitor. They literally take screenshots.
You can try turning off WiFi while you edit photos. Idk if that will fix it or not. Ask someone who would know if that does anything. Maybe it just sends it all once it connects. ?