World War I was going happen anyway because the race for foreign colonies and the massive arms buildup by the UK, France and Germany was going to come to a head sooner or later.
Well it didn't break out between the UK, France, and Germany. It broke out between Germany and Russia, using the conflict between Austria and Serbia as a pretext. The other powers joined the war in progress.