Actually the reason behind Cuban's statement is that he owned a similar company to YouTube (Broadcast.com) and sold it for 1.5 billion dollars, then the company was acquired by Yahoo.
In essense, Broadcast.com went knockers up but he still made the big cake from the deal... thus his "idiot" comment.