One very old meaning of the word “barrow” is an open container for carrying people or goods. The earliest barrows were carried by two people holding handles on either end. Add a wheel to one end and you have a wheelbarrow which can be handled by a single person. The word is also sometimes applied to two-wheeled versions.
The word has nothing to do with barrels.