Fast fashion and mall brands used to look to the runways for inspiration. Now, much of their output has been run through an algorithm.