Amazon lays off hundreds in its Alexa division as it plows resources into AI