Rising bollards

A rising bollard is a physical barrier which sinks into the ground when a permitted vehicle is approaching, but otherwise prevents unauthorised vehicles from passing through. 

Typically used to allow buses or emergency vehicles into a restricted zone while preventing drivers of other vehicles from entering (although they don't stop people from trying).

They are expensive to install - typically £25,000 per bollard.