Entanglement generation in the ultra-strongly coupled Rabi model