Scalable and Decentralized Algorithms for Anomaly Detection via Learning-Based Controlled Sensing