A loan that the company knows about is not embezzlement. It's a perk designed to make Rubin's life easier which is worth more than money to both Google and Rubin. He could of course arrange his own loan, just like an average Google employee could arrange their own lunch.