Saddiq Bey hit a buzzer-beating three as the Pistons clinched a dramatic 122-119 victory at the Warriors.