Aggregation of Capital and Its Substitution with Energy