Uncertainty-Driven Reliability: Selective Prediction and Trustworthy Deployment in Modern Machine Learning