The assailant was shot by a police officer after he attacked shoppers in the busy Westfield Bondi Junction shopping center.