Optimal technology choice in a dynamic‐stochastic environment