This is a false dichotomy. Both OLS regression and, say, random decision forest regression have the same objective (predict values) and achieve it with similar means (build a generative model / function). They solve the same problem. Contrastingly, assembler and python are broadly aimed at completely different use cases.
Broadly, whether you should move from OLS to random forest regression = SNR increase / increase in manhours and money spent.