Wikipedia has quietly turned one of the internet’s most beloved public resources into a structured data backbone for artificial intelligence, and the biggest tech platforms are now paying to tap in.