Jamie Foxx has confessed he used to "stalk" celebrities outside The Roxbury club in Los Angeles when he was struggling to make it as a comedian.