Government contracts and a focus on innovation may be attractive in an uncertain geopolitical environment.