Trains and buses don't run on demand from point to point.
We could put effort into making them better but it's not as sexy.
Very high densities are both the problem and the solution. They're the problem because under very high density private car ownership is infeasible, and the solution because public transport becomes fast and affordable. If you let it.