Optimizing Edge AI: A Comprehensive Survey on Data, Model, and System Strategies