The world has to secure $1.3 trillion of extra investment by 2030 to support different types of energy sources and infrastructure to avoid a crisis, according to an annual energy outlook by US bank JP Morgan.