I think you are just not very familiar with some of those professions. Lawyers frequently take on pro bono cases to get themselves publicity. Pastry chefs give out free samples of their work all the time to get customers. In basically any competitive profession some people will take on some non-paying work if they think it will benefit their career.