AI of Things for smart and sustainable water management