We’re reaching a point of critical mass where the number of devices in the Internet ecosystem far outweighs the ability for us to manage them. AI is going to take over in this realm, but we have to program it first; and the bad guys are already busy poking holes in environments, such as IoT, where we’ve not focused a lot of attention. This is going to get (much) worse before it gets better, hence the seemingly endless parade of breaches over the last couple of years.
Bruce Schneier has been talking about this for a while now. His latest book, 'Click Here to Kill Everyone' is fairly scary.