Measurement error models: from nonparametric methods to deep neural networks