Meta lays off 700 workers as AI spending increases