Snowflake Inc. wrapped up a monumental year with expanding losses that sent shares lower in after-hours trading Wednesday.