A real estate agent in Sydney has been ordered to personally repay $7.4 million after encouraging a family to invest in a fraudulent property scheme.