IoT and Generative AI for Enhanced Data-Driven Agriculture