On further investigation, the game likely uses LuaItemPrototype.items_to_place_this, and takes only the first result. A request was made on the forums to allow robots to use the item in cursor, when shift-clicking to place a ghost, at least. Adding support for blueprints etc would be nice (added manually, not stored in the entity automatically).