Perth building technology company NXT TEC and two of its directors have lost a Supreme Court battle over a $2 million investment.