How to have a dynamic slug and rendering the archive-{post_type}.php?

Reset your Permalinks (Dashboard > Settings > Permalinks). Just make a change, save and it should pick up your rewrite change. I’ve made this mistake a million times, you adjust a thing and forget this is needed.