Noise-injected analog Ising machines enable ultrafast statistical sampling and machine learning