I've been noticing in the latest patch where a all capital ships will ignore a starbase to go bomb an invulnerable planet. It seems the AI does not recognize it can't hurt the planet until the starbase(s) are neutralized. I've watched as they will literally fly right by a starbase that is shooting at them to do this.
Also, all ship AI seems to not prioritize planetary defenses or enemy ships and instead will attack ship builders, research centers and other non-threatening things first.