Machine learning transforms the inference of the nuclear equation of state