Billionaire Mark Cuban says he saw the recent stock market swings as a buying opportunity.