Do you think that there some kind of mandate that states other companies can't develop a mainline Pokemon game or something? Nintendo is no stranger to outsourcing.
Well, Nintendo doesn't own all of Pokémon, and in fact GF co-owns the pokemon company, so that is an incredibly tricky situation.