Security as an after thought.
When robotics and other embedded systems were first implemented, the Internet didn't exist beyond Usenet and mostly computer geeks and engineers were the only ones on the net.
I wrote some embedded systems over 25 years ago and networking wasn't even an issue. Today those same systems are connected to a pc/server that connects to the web.
So a lot of the infrastructure is ripe for security threats.