Global solar, wind growing despite shrinking investments