Beyond Boundaries: A Comprehensive Survey of Transferable Attacks on AI Systems