En ny EU-plan ska säkerställa tekniskt ledarskap tillsammans med investeringar i AI-fabriker, datatillgång och riktad talangutveckling.