In responses to the comment requesting real world application. I have not found models like GAM used particularly often in the industry, but there were notable exceptions in my career.
Insurance companies, especially life insurance companies, tend to prefer an explainable model over one that just makes good predictions. In this space, I have used GAM to model spatial distribution. I can't go into particular details, but to give you a related example, imagine an experiment design regarding the survey of fish. A properly designed survey will stratified an environment; however, within the environment there exist covariates. The traditional approach would be at apply a GLM and add covariates into the model. However, it's easy to see that some predictors may not be linear. For example, fish are drawn to different temperature, so the relation for the environment of the water and the temperature of the wish should probably not be modeled in a linear fashion. Thankfully we could use a cubic spline instead and produce a readily interpretable result.
Another example, would be in credit scoring. In practice, there's usually a myriad of mixed models working together to produce a credit score and there exist different types of models for different level of products and risk. Generically speaking though, some of these models can be hard to understand and find what driving factors effect it. MARS can be used as a good baseline piecewise model for credit scores.
In short, it's like any other model. There's a use, time and place for it. I've found that companies that rely heavily on more traditional statistics and process understanding are more inclined to use models like GLM or GAM, while newer tech heavy companies favor the more blackbox quick iteration push to production approach. Neither is better than the other, just that each industry has its own standards and goals.