Intelligent Agents, AGI, Active Inference and the Free Energy Principle