On the infrastructure side, its a much better deal for you as well, the combined value of all the property taxes from the apartment buildings will be way more than if that lot had remained a house. Since the road, water, sewer and electric lines are already in place nothing new has to be built. You benefit from all those property taxes coming in from the apartment building while the liabilities to the government have barely increased. The local government can use this new surplus of taxes to build new amenities for you.
For traffic, sure but that's why you want to build more pedestrian friendly neighborhoods and public transit so people don't have to drive everywhere. Once you have enough people in a place you could open small shops so they can hang out around the building rather than drive everywhere.