Real-time Digital Double Framework to Predict Collapsible Terrains for Legged Robots