In Netherland it's also only the special needs schools that pick up students in buses (because they're very specialised and kids can come from a very large area and might not be sufficiently able to travel on their own). But most kids just use their bike.
But I gather bikes are not a thing in many other countries.
Some private schools might have small buses. Otherwise, public and private students would use public transport, ride, walk or get dropped off by parents.