Optimizing Resource Allocation in Cloud Infrastructure through AI Automation: A Comparative Study | Synapse