Thermal entanglement in fully connected spin systems and its random-phase-approximation description