Not sure if I agree. In physics you typically have the analytical solution, but it's expensive to evaluate (integral over many dimensions) so you use machine learning as a cheap way to approximate it.
In most other cases of machine learning there is no "objective" solution and hence no "target function" to approximate.
In most other cases of machine learning there is no "objective" solution and hence no "target function" to approximate.