D&D designers have spent a long time, with plenty of input from users, to balance the races. This has been going on for decades. The older edition saw rather clumsy attempt to balance races (level caps and so on), but the designers have had plenty of time to work on it since.