AI not working with infinite resources

Issue: The first time I played it with infinite resources the AI never really attacked but built a few things then stopped and was also collecting resources. The the second time with real world map earth the AI just stayed at the bottom built a town center and a ton of docks but then just stopped and never attacked.