Gates has obviously made a calculation here, one I believe to be correct: the far greater returns generated by profit-maximizing investment can be used to do more good than the harm that might be caused by any of the companies he invests in.