Most foreign investment in BRICs isn’t foreign at all—it’s tycoons using tax havens