Victorian energy companies must automatically switch customers onto their best offer under new consumer protection laws.