After constructing a ship using shipyards, any AI blocks on turrets or ships mounted to it are set to "Ship-Any".
Reproduced in SP and MP with multiple different designs. This is only using shipyards. Spawning in with blueprints does not reproduce this issue.