See this important blog post by Orhun Aydin of Esri's Spatial Statistics Team where he describes different means of integrating space into scientific problem solving, with an eye toward generic (non-spatial) machine learning, spatial machine learning, and non-spatial machine learning with geoenriched predictors.
The Science of Where in a Warming Planet: Spatial vs Non-Spatial Machine Learning