The first is that the A380 carries double the passengers than the A340 (650 vs 380 depending on the configuration) and thus Airbus wanted to signify this in the name. Even looking at the two aircraft you can see that the A380 is essentially a double-decker A340. The second theory is that it is because of China.