ITV will hand its media and entertainment division to Comcast’s Sky for up to £1.6bn, keeping the Bake Off producer and becoming a standalone studio.