Apple wipes thousands of gambling apps after China backlash