A Silicon Valley startup that uses weather balloons and AI to predict the weather won a US military contract worth almost $50 million.