By that time even poor kids in rural Thailand will be carrying smartphones on them at all times.
Those, combined with location-based awareness will warn them just as they're about to enter the cave "uh, are you sure you want to do that? Look at the current weather forecast....".
Remember even as of today AI can compete on a high level of huge video games, face recognition, natural language processing, playing Go/Chess game, etc. Imagine in 30 years, all the robots, armed with AI and made of materials a few times stronger than whatever we have today, should be able to scan, learn, adapt and go. Another minor point, the robots can probably carry some heavy machines (or laser guns) and just pound hard on the cave's narrow sections to make the passage wider. Etc.
What are your thoughts on how technology advancement in the next 30 years would change the way of this kind of rescue mission? Say in 2040, can a group of robots finish the mission in one day with ease? That will be awesome, people can be rescued from bad situations much sooner.