Shiny Ditto From a regular pokemon?

The question's premise is false, Ditto will not appear in the wild transformed as a different Pokémon in X and Y, or in fact in any main series games.