As a Model S or X owner, if I don't use my 400 kWh of annual credits will they roll over to the next year?

Unused credits do not roll over to the next year. Credits are reset to 400 kWh each year, on the anniversary of the delivery date. If the car transfers ownership, credits are reset on the date of the transfer. (emphasis mine)