Depends on the specific problem. If inputs change predictably over time then ML can help. But for lot of problems that doesn't happen.