A television company has been fined £120,000 for unlawfully filming expectant mothers in a maternity unit.