Amazon lays off some devices unit staff as it targets 10000 cuts