Because rule based software is now a commodity, and therefore has lower margin. ML is more risky to achieve, may not work on a given dataset, and requires scarce specialized thinking, therefore is worth betting capital on. ML is the new stock while software is the new bond.