“American Sniper” has been knocked off the top of the US box office by “SpongeBob SquarePants'. The second animated film to be based on the anarchic TV series took $56m in its opening weekend.