Cade Cunningham was in impressive form as the Detroit Pistons secured an upset victory over the Utah Jazz.