Apple restricts vibe-coding apps; coding itself legal, but publishing insecure AI apps may trigger liability.