I have heard of a company in the Bay that did this! Reliable Robotics had people start on a Monday only to lay them off later that week.
But seriously now: this only goes to show how those layoffs are about companies fucking up, rather than about people. Laying off people who just got hired is amateur hour.