The small dip in ads on its website demonstrates the electric car maker’s efforts to control costs amid a price war, while balancing a need to grow its workforce as it races to meet lofty growth targets.