Netflix has laid off about 150 staff, just a month after the entertainment giant said it was losing subscribers for the first time in a decade.