Web 3 and AI: Competition or Cooperation?