Hi Darren
You're right about the meaning. As for the origin, who knows, but my imagination tells me that it originated from a farmer - an apple farmer - an apple farmer from Texas (hence 'them apples' instead of those apples).
Does that sound about right?
my site:
www.roadtogrammar.com