Walt Disney Co. confirmed it is laying off several hundred employees as part of a cost-cutting measure.