China is free to try to negotiate the establishment of navy bases anywhere in the world they see fit. And so is the US. The US has vastly more allies globally than China does, and that's the difference. Few countries trust China enough to establish long-term military arrangements with them. Whereas the US has been part of NATO for decades, and has been openly protecting Europe for decades - and the Europeans welcome it.
You think Germany wants China to set up a large military base in their country? How about South Korea or Japan? Of course not.
I don't remember Dubai building military installations, only selling mansions to those who can afford it. Also they did it right off their own coast and not miles into disputed waters.