AI Applied to the Circular Economy: An Approach in the Wastewater Sector