Widespread shift from ecosystem energy to water limitation with climate change