Optimal control of fluid restless multi-armed bandits: a machine learning approach