Amazon has laid off around 250 employees in its devices and services division, with workers informed through early morning emails and text messages.