California billionaire Tom Gores has agreed to buy NBA's Detroit Pistons.