Government-funded scientific research may appear strange or impractical, but it has repeatedly yielded scientific breakthroughs — and continues to pay for itself many times over.