As the competition for talent has heated up over the last few years, companies have increasingly turned to outrageous perks—from helicopter rides at Dropcam to three pints of ice cream every day at Ben & Jerry’s—to attract talent and retain employees.