Cosmological constraints from low redshift 21 cm intensity mapping with machine learning