A U.S. federal judge on approved Volkswagen's record-setting $14.7 billion settlement with regulators and owners of 475,000 polluting diesel vehicles.