A good pre-workout supplement will not explicitly increase muscle mass, but it will allow you to exercise harder in the gym, and training harder in the gym will increase muscle mass. As a result, the vast majority of people end up assisting.
Instead of using only one effective ingredient, most pre-workout supplements incorporate a number of different ingredients of varying effectiveness. Creatine is often the main component in muscle-building supplements.