US comedian and actor Bill Cosby’s record of big donations to colleges and other institutions has been a key part of his rosy public image – but the rising tide of allegations made by women accusing him of sexual assault is threatening to overshadow his generosity.