The answer is airplanes. They were originally used for reconnaissance but when they outfitted with machine guns, they were given a more important role of attacking enemy fortifications. Apart from machine guns, they also employed bombs that were dropped on enemy trenches.