If you broaden the definition of military to include cyberwarfare in the vein of propaganda/fake news/hacking, then I think it is still a tremendously important activity. Military participation in on the ground activities—not as much. I’m personally of the view that actual ground activities now play the support role to cyber activities, rather than the other way around (Rather than try explain my views on that here, I’ll just link you to the book I got that view from: War in 140 Characters: How Social Media is Reshaping Conflict in the Twenty-First Century).
If you broaden the definition of military to include cyberwarfare in the vein of propaganda/fake news/hacking, then I think it is still a tremendously important activity. Military participation in on the ground activities—not as much. I’m personally of the view that actual ground activities now play the support role to cyber activities, rather than the other way around (Rather than try explain my views on that here, I’ll just link you to the book I got that view from: War in 140 Characters: How Social Media is Reshaping Conflict in the Twenty-First Century).