Japanese carmakers will run their factories at weekends from July to September and halt them Thursdays and Fridays to counter an expected power shortages.