Or they could you know....just build a tunnel big enough to fir every vehicle size? I don't think this problem exists in the UK, I've driven through many different tunnels and they will accept any vehicle size.
Including trucks carrying around 40ft tall construction equipment (like cranes) on flatbeds? What about those huge wind-turbine pieces?
You can't plan for "any", especially with shrinking government budgets globally. You plan for "most", and work to ensure the remainder has some sort of possible route.
I knew somebody was going to point out that oversized vehicles won't fit. For your knowledge, these vehicles are not normally legal to drive(in the EU), they need to have special permissions, display "oversized" badge on the back and on the front, but most importantly, they need to have their route planned and approved days in advance from actually driving anywhere. So none of these vehicles would ever crash into a tunnel, because such a route would not be approved in the first place.
By "any" I mean any of the sizes approved for legal road use, and there is not many of them. Trailers can only be of a certain height and width, and most tunnels are built to accomodate for those dimensions.
And usually, tunnels are built to either make the route shorter, or redirect traffic out of the city. So if the biggest vehicles on the road cannot use them, and have to go through the city, then it defeats the point of building the tunnel altogether.
Hardware manufacturers cannot possibly guess how much data people want to store. You could always find someone who would want to store more data.
Trucks are different - they can only have certain dimensions, and there's an upper limit on both width and height of the vehicle. If you make your tunnel that big,then any road-legal vehicle will definitely fit through it.
Oversized vehicles are different,but they need to have their routes approved first and get a permit anyway,so there is zero chance they could crash into a tunnel, because a route through it would never get approved in the first place.