Say you believe that there's a 25% chance that this Google guy can get you to the front of the self-driving car race, and there's a 50% chance you'll get caught. Based on those 3 assumptions at the top, this is a worthwhile risk.
Sure, he wouldn't do it again with hindsight, both because it didn't work out and because his board fired him for creating a culture of sexual harassment, but the risk was probably worth it, strategically if not ethically.