The law’s $369bn in financial incentives will speed up the transition to renewable power and electrified transportation