Investment banks make money by providing a wide range of services to companies and governments, such as underwriting securities, trading securities, providing financial advice, managing assets, and principal investing. These banks play a crucial role in stimulating economic growth by facilitating the flow of capital between investors and companies.