Cloudflare beat Q1 earnings but issued weak Q2 guidance, sending shares down over 18% as AI infrastructure costs squeeze margins.