Apple chief executive tells the BBC the tech sector needs more women in order to thrive.