One person I know who did an astrophysics PhD became a data scientist at an international (life) insurance firm. Someone else I know who did an MPhys and specialised in astro became a software developer at the Met Office. As above the majority of grad jobs don't have any specific degree requirements, and the ones that do usually are just requiring a numerate/quantitative degree - which physics/astrophysics is. So you would have a pretty wide range of options available to you.