The businessman used mining royalties as a “personal ATM” for a company named after his wife and children, the court heard.