NB-IoT Random Access: Data-driven Analysis and ML-based Enhancements