Hybrid collective intelligence in a human–AI society