maxing out shipcaps is fine, but only if you have very low resources. if you have lots of resources, you should attack & rebuild constantly until you have low resources again. the AIP increases over time, AI planets reinforce over time, you gain resources over time... if you dont capitalise on your resources, you are letting the AI get one up on you.