That is called cheese, and pros know they need to be ready for it or at least know about what their build can handle, and then weigh the odds of the enemy doing something their build will lose to. Also with good micro a lot of cheeses can be dealt with with normal builds.