Machines playing the network in the artificial intelligence era