Uber Lays Off 400 as Profitability Doubts Linger After I.P.O.