A developer never loses money, and publishers rarely do because the have smart people working for them to make every project profitable by being creative at promotions, marketing etc...
thing is they are losing money htey couldve earned by working on other more profitable projects....and thats it.
It seems WiiU games dont bring enough profit to them to go on. and if it happens that they dont like Nintendo either for whtever reason (could happen) then just......WiiU