Billionaire Mark Cuban urged the fired employees of the government’s 18F department to group together as a consultancy and vowed to invest and help them.