There's absolutely nothing stopping competition. Switching from Facebook or Google to a competing service is as simple as typing a URL into the web browser. They maintain their business position by providing an excellent product, not by preventing other people from creating competing products.