AMD and Intel stocks surge over 5% on AI chip optimism